Package | Description |
---|---|
org.mockito |
Mockito is a mock library for java - see Mockito class for for usage.
|
org.mockito.exceptions |
Exception messages, exception hierarchies.
|
org.mockito.internal.creation |
Mock object creation.
|
org.mockito.internal.creation.settings | |
org.mockito.internal.debugging |
Whatever helps in debugging failed tests
|
org.mockito.mock |
Modifier and Type | Method and Description |
---|---|
MockSettings |
MockSettings.invocationListeners(InvocationListener... listeners)
Registers a listener for method invocations on this mock.
|
Modifier and Type | Method and Description |
---|---|
void |
Reporter.invocationListenerThrewException(InvocationListener listener,
java.lang.Throwable listenerThrowable) |
Modifier and Type | Method and Description |
---|---|
java.util.List<InvocationListener> |
MockSettingsImpl.getInvocationListeners() |
Modifier and Type | Method and Description |
---|---|
MockSettings |
MockSettingsImpl.invocationListeners(InvocationListener... listeners) |
Modifier and Type | Field and Description |
---|---|
protected java.util.List<InvocationListener> |
CreationSettings.invocationListeners |
Modifier and Type | Method and Description |
---|---|
java.util.List<InvocationListener> |
CreationSettings.getInvocationListeners() |
Modifier and Type | Class and Description |
---|---|
class |
VerboseMockInvocationLogger
Logs all invocations to standard output.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<InvocationListener> |
MockCreationSettings.getInvocationListeners()
the invocation listeners attached to this mock, see
MockSettings.invocationListeners(org.mockito.listeners.InvocationListener...) . |