Skip to content
 

Relax: You Can (Mostly) Stop Using Java Interfaces For Testing

Are you tired of turning every non-trivial class into an interface, and then create an "Impl" that actually does the work when mocking objects for testing? Do you know about JMock's ClassImposterizer? It ...