Click here to Skip to main content
15,885,947 members
Articles / All Topics

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

Rate me:
Please Sign up or sign in to vote.
3.57/5 (3 votes)
7 Jan 2008CPOL4 min read 19.1K   7  
This article presents a simple yet very handy way to write unit tests for void methods.

Views

Daily Counts

License

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


Written By
Other ThoughtWorks
Canada Canada
Consultant
Read my blog at http://smsohan.blogspot.com

Comments and Discussions