Make everything as simple as possible, but not simpler. -Albert Einstein 

Home Archive for category "EasyMock"
formats

Unit Testing with EasyMock

Summary: Unit testing involves testing business logic in isolation.  In many situations,  Java classes  will have a natural dependency on other classes.  These dependent classes can be replaced with mock objects.   Mock objects are instances of test provided classes. For example, let’s say you would like to unit test an algorithm that calculates a company’s

Read More…

 
 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
No Comments  comments 
© Techbysample.com, all rights reserved.