| 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 | Description |
|---|---|---|
MockSettings |
MockSettings.invocationListeners(InvocationListener... listeners) |
Registers a listener for method invocations on this mock.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
Reporter.invocationListenerThrewException(InvocationListener listener,
java.lang.Throwable listenerThrowable) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<InvocationListener> |
MockSettingsImpl.getInvocationListeners() |
| Modifier and Type | Method | Description |
|---|---|---|
MockSettings |
MockSettingsImpl.invocationListeners(InvocationListener... listeners) |
| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.List<InvocationListener> |
CreationSettings.invocationListeners |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<InvocationListener> |
CreationSettings.getInvocationListeners() |
| Modifier and Type | Class | Description |
|---|---|---|
class |
VerboseMockInvocationLogger |
Logs all invocations to standard output.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<InvocationListener> |
MockCreationSettings.getInvocationListeners() |
The invocation listeners attached to this mock, see
MockSettings.invocationListeners(org.mockito.listeners.InvocationListener...). |