Uses of Interface
org.mockito.listeners.MockitoListener
-
Packages that use MockitoListener Package Description org.mockito Mockito is a mock library for java - seeMockito
class for usage.org.mockito.internal.framework org.mockito.internal.junit JUnit integration support classes.org.mockito.internal.progress Mocking progress stateful classes.org.mockito.listeners Public classes relative to the listener APIs. -
-
Uses of MockitoListener in org.mockito
Methods in org.mockito with parameters of type MockitoListener Modifier and Type Method Description MockitoFramework
MockitoFramework. addListener(MockitoListener listener)
Adds listener to Mockito.MockitoFramework
MockitoFramework. removeListener(MockitoListener listener)
When you add listener usingMockitoFramework.addListener(MockitoListener)
make sure to remove it. -
Uses of MockitoListener in org.mockito.internal.framework
Methods in org.mockito.internal.framework with parameters of type MockitoListener Modifier and Type Method Description MockitoFramework
DefaultMockitoFramework. addListener(MockitoListener listener)
MockitoFramework
DefaultMockitoFramework. removeListener(MockitoListener listener)
-
Uses of MockitoListener in org.mockito.internal.junit
Subinterfaces of MockitoListener in org.mockito.internal.junit Modifier and Type Interface Description interface
MockitoTestListener
Internal test listener that helps decoupling JUnit internals from Mockito "business" logic.Classes in org.mockito.internal.junit that implement MockitoListener Modifier and Type Class Description class
MismatchReportingTestListener
Reports stubbing argument mismatches to the supplied loggerclass
NoOpTestListener
class
StrictStubsRunnerTestListener
Fails early when mismatched arguments used for stubbingclass
UniversalTestListener
Universal test listener that behaves accordingly to current setting of strictness.class
UnnecessaryStubbingsReporter
Reports unnecessary stubbings -
Uses of MockitoListener in org.mockito.internal.progress
Fields in org.mockito.internal.progress with type parameters of type MockitoListener Modifier and Type Field Description private java.util.Set<MockitoListener>
MockingProgressImpl. listeners
Methods in org.mockito.internal.progress with parameters of type MockitoListener Modifier and Type Method Description void
MockingProgress. addListener(MockitoListener listener)
void
MockingProgressImpl. addListener(MockitoListener listener)
(package private) static void
MockingProgressImpl. addListener(MockitoListener listener, java.util.Set<MockitoListener> listeners)
void
MockingProgress. removeListener(MockitoListener listener)
void
MockingProgressImpl. removeListener(MockitoListener listener)
Method parameters in org.mockito.internal.progress with type arguments of type MockitoListener Modifier and Type Method Description (package private) static void
MockingProgressImpl. addListener(MockitoListener listener, java.util.Set<MockitoListener> listeners)
-
Uses of MockitoListener in org.mockito.listeners
Subinterfaces of MockitoListener in org.mockito.listeners Modifier and Type Interface Description interface
MockCreationListener
Notified when mock object is created.interface
VerificationListener
This listener can be notified of verify invocations on a mock.
-