public class StrictStubsRunnerTestListener extends java.lang.Object implements MockitoTestListener
Modifier and Type | Field and Description |
---|---|
private DefaultStubbingLookupListener |
stubbingLookupListener |
Constructor and Description |
---|
StrictStubsRunnerTestListener() |
Modifier and Type | Method and Description |
---|---|
void |
onMockCreated(java.lang.Object mock,
MockCreationSettings settings)
Mock object was just created.
|
void |
testFinished(TestFinishedEvent event) |
private final DefaultStubbingLookupListener stubbingLookupListener
public void testFinished(TestFinishedEvent event)
testFinished
in interface MockitoTestListener
public void onMockCreated(java.lang.Object mock, MockCreationSettings settings)
MockCreationListener
onMockCreated
in interface MockCreationListener
mock
- created mock objectsettings
- the settings used for creation