Package org.mockito.internal.junit
Class MismatchReportingTestListener
java.lang.Object
org.mockito.internal.junit.MismatchReportingTestListener
- All Implemented Interfaces:
MockitoTestListener,MockCreationListener,MockitoListener
Reports stubbing argument mismatches to the supplied logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonMockCreated(Object mock, MockCreationSettings settings) Mock object was just created.voidtestFinished(TestFinishedEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.mockito.listeners.MockCreationListener
onStaticMockCreated
-
Constructor Details
-
MismatchReportingTestListener
-
-
Method Details
-
testFinished
- Specified by:
testFinishedin interfaceMockitoTestListener
-
onMockCreated
Description copied from interface:MockCreationListenerMock object was just created.- Specified by:
onMockCreatedin interfaceMockCreationListener- Parameters:
mock- created mock objectsettings- the settings used for creation
-