Appendix C. Brief EasyMock tutorial
Import static utility methods from EasyMock and the class itself. | |
Ask EasyMock to create mock objects for the given interface. | |
Record expected interactions. | |
This is an alternative, functionally equivalent syntax ... |
Get Test Driven now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.