protected class EasyMockModule.EasyMockTestListener extends TestListener
| Modifier | Constructor and Description |
|---|---|
protected |
EasyMockModule.EasyMockTestListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterTestMethod(Object testObject,
Method testMethod,
Throwable throwable)
After each test is executed this calls
EasyMockModule.verify() to verify the recorded behavior
of all created mocks. |
void |
beforeTestSetUp(Object testObject,
Method testMethod)
Before the test is executed this calls
EasyMockModule.createAndInjectRegularMocksIntoTest(Object) to
create and inject all mocks on the class. |
afterCreateTestObject, afterTestTearDown, beforeTestClass, beforeTestMethod, shouldInvokeTestMethodprotected EasyMockModule.EasyMockTestListener()
public void beforeTestSetUp(Object testObject, Method testMethod)
EasyMockModule.createAndInjectRegularMocksIntoTest(Object) to
create and inject all mocks on the class.beforeTestSetUp in class TestListenerpublic void afterTestMethod(Object testObject, Method testMethod, Throwable throwable)
EasyMockModule.verify() to verify the recorded behavior
of all created mocks.afterTestMethod in class TestListenerCopyright © 2016. All Rights Reserved.