Mock and TestSubject annotations. Note
that this runner only works with JUnit 4.5 or higher
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Statement | Returns: a statement to return to the callertest method class method, Object test class instance target, Statement current statement statement)Overrides org. @Before of our class being called.
|
| EasyMockRunner | back to summary |
|---|---|
| public EasyMockRunner(Class<?> klass) throws InitializationError | |
| withBefores | back to summary |
|---|---|
| protected Statement withBefores(FrameworkMethod method, Object target, Statement statement) Overrides org. We are required to override a deprecated method because it's the only way the perform
the mock injection before the
| |