Click here to Skip to main content
Click here to Skip to main content

UnitTestContext - Use of a Simple Yet Powerful Way to Unit Test Void Methods using Mock Objects

, 7 Jan 2008
This article presents a simple yet very handy way to write unit tests for void methods.


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


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

About the Author

Other ThoughtWorks
Canada Canada
Read my blog at
Follow on   Twitter

| | Privacy | Mobile
Web02 | 2.8.140718.1 | Last Updated 8 Jan 2008
Article Copyright 2008 by S. M. SOHAN
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid