Submitted by Russell Brown.
I sometimes find when testing facades or web components that I have a lot of mocks so I create the @Mock annotation and the helper to make my life even easier.
Helper to autowire mocks
Logged In: YES
File Added: Mock.java
I'm ambiguous about this one. I understand why it can be useful. However, it means putting testing annotations in the application code and package EasyMock with the application deployed in production.
It just doesn't feel right.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.