Click here to Skip to main content
11,712,143 members (69,482 online)
Click here to Skip to main content
Add your own
alternative version

Using partial mocks for non public methods testing

, 10 Feb 2013 CPOL 14.2K 96 6
Pattern to follow using mock frameworks so non public methods can be tested. The code example is based on the RhinoMock framework but it is easily applicable to any other mock framework.



Compare Revision Minor Date Status Editor
1 - publicly available No 10-Feb-13 10:05 Available Enrique Albert
First version


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Enrique Albert
Software Developer (Senior)
Ireland Ireland
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150819.1 | Last Updated 10 Feb 2013
Article Copyright 2013 by Enrique Albert
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid