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.listeners |
Public classes relative to the call listener.
|
Modifier and Type | Method and Description |
---|---|
void |
Reporter.neverWantedButInvoked(PrintableInvocation wanted,
Location firstUndesired) |
void |
Reporter.tooLittleActualInvocations(Discrepancy discrepancy,
PrintableInvocation wanted,
Location lastActualLocation) |
void |
Reporter.tooLittleActualInvocationsInOrder(Discrepancy discrepancy,
PrintableInvocation wanted,
Location lastActualLocation) |
void |
Reporter.tooManyActualInvocations(int wantedCount,
int actualCount,
PrintableInvocation wanted,
Location firstUndesired) |
void |
Reporter.tooManyActualInvocationsInOrder(int wantedCount,
int actualCount,
PrintableInvocation wanted,
Location firstUndesired) |
void |
Reporter.wantedButNotInvoked(PrintableInvocation wanted) |
void |
Reporter.wantedButNotInvoked(PrintableInvocation wanted,
java.util.List<? extends PrintableInvocation> invocations) |
void |
Reporter.wantedButNotInvokedInOrder(PrintableInvocation wanted,
PrintableInvocation previous) |
Modifier and Type | Method and Description |
---|---|
void |
Reporter.wantedButNotInvoked(PrintableInvocation wanted,
java.util.List<? extends PrintableInvocation> invocations) |
Modifier and Type | Interface and Description |
---|---|
interface |
VerificationAwareInvocation |
Modifier and Type | Class and Description |
---|---|
class |
Invocation
Method call on a mock object.
|
class |
InvocationMatcher |
Constructor and Description |
---|
StubInfo(PrintableInvocation stubbedAt) |
Modifier and Type | Method and Description |
---|---|
PrintableInvocation |
NotifiedMethodInvocationReport.getInvocation() |
Modifier and Type | Class and Description |
---|---|
class |
StubbedInvocationMatcher |
Modifier and Type | Method and Description |
---|---|
void |
StubbedInvocationMatcher.markStubUsed(PrintableInvocation usedAt) |
Modifier and Type | Method and Description |
---|---|
PrintableInvocation |
MethodInvocationReport.getInvocation() |