| Package | Description |
|---|---|
| org.mockito.exceptions |
Exception messages, exception hierarchies.
|
| org.mockito.internal.exceptions | |
| org.mockito.internal.invocation |
Invocation and related classes.
|
| org.mockito.internal.listeners | |
| org.mockito.internal.stubbing |
Stubbing logic.
|
| org.mockito.invocation |
Public API related to invocation
|
| org.mockito.listeners |
Public classes relative to the call listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Reporter.neverWantedButInvoked(DescribedInvocation wanted,
Location firstUndesired) |
void |
Reporter.tooLittleActualInvocations(Discrepancy discrepancy,
DescribedInvocation wanted,
Location lastActualLocation) |
void |
Reporter.tooLittleActualInvocationsInOrder(Discrepancy discrepancy,
DescribedInvocation wanted,
Location lastActualLocation) |
void |
Reporter.tooManyActualInvocations(int wantedCount,
int actualCount,
DescribedInvocation wanted,
Location firstUndesired) |
void |
Reporter.tooManyActualInvocationsInOrder(int wantedCount,
int actualCount,
DescribedInvocation wanted,
Location firstUndesired) |
void |
Reporter.wantedButNotInvoked(DescribedInvocation wanted) |
void |
Reporter.wantedButNotInvoked(DescribedInvocation wanted,
java.util.List<? extends DescribedInvocation> invocations) |
void |
Reporter.wantedButNotInvokedInOrder(DescribedInvocation wanted,
DescribedInvocation previous) |
| Modifier and Type | Method and Description |
|---|---|
void |
Reporter.wantedButNotInvoked(DescribedInvocation wanted,
java.util.List<? extends DescribedInvocation> invocations) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
VerificationAwareInvocation |
| Modifier and Type | Class and Description |
|---|---|
class |
InvocationImpl
Method call on a mock object.
|
class |
InvocationMatcher |
| Constructor and Description |
|---|
StubInfoImpl(DescribedInvocation stubbedAt) |
| Modifier and Type | Method and Description |
|---|---|
DescribedInvocation |
NotifiedMethodInvocationReport.getInvocation() |
| Modifier and Type | Class and Description |
|---|---|
class |
StubbedInvocationMatcher |
| Modifier and Type | Method and Description |
|---|---|
void |
StubbedInvocationMatcher.markStubUsed(DescribedInvocation usedAt) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Invocation
A method call on a mock object.
|
| Modifier and Type | Method and Description |
|---|---|
DescribedInvocation |
MethodInvocationReport.getInvocation()
The return type is deprecated, please assign the return value from this method
to the
DescribedInvocation type. |