EasyMock
Posted by Olga on May 23, 2010 in Development
No Comments
Mock Objects A unit test should verify just the behaviour of the tested object. But you’ll often find yourself writing unit tests for classes that relay on other classes or methods’ results. That’s why you need a way of simulate these classes behaviour, that’s called mocking objects. This way you can assure you are testing [...]