EasyMock Class Extension – IllegalStateException on expect method
When I write unit tests, I find using EasyMock extremely helpful. Especially using EasyMock Class Extensions give me the ability to mock objects which do not have an interface, or objects that are so legacy (and untested) that I don’t dare to touch them yet. I say “yet” , because once I have reduced this […]