Package | Description |
---|---|
org.mockito.exceptions |
Exception messages, exception hierarchies.
|
org.mockito.internal.debugging |
Whatever helps in debugging failed tests
|
org.mockito.internal.invocation |
Invocation and related classes.
|
org.mockito.internal.matchers |
Argument matchers for verification and stubbing.
|
org.mockito.invocation |
Public API related to invocation
|
Modifier and Type | Method | Description |
---|---|---|
Location |
PrintableInvocation.getLocation() |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Reporter.argumentsAreDifferent(java.lang.String wanted,
java.lang.String actual,
Location actualLocation) |
|
void |
Reporter.neverWantedButInvoked(DescribedInvocation wanted,
Location firstUndesired) |
|
void |
Reporter.smartNullPointerException(java.lang.String invocation,
Location location) |
|
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.unfinishedStubbing(Location location) |
|
void |
Reporter.unfinishedVerificationException(Location location) |
Modifier and Type | Class | Description |
---|---|---|
class |
LocationImpl |
Modifier and Type | Method | Description |
---|---|---|
Location |
Localized.getLocation() |
Modifier and Type | Method | Description |
---|---|---|
Location |
InvocationsFinder.getLastLocation(java.util.List<Invocation> invocations) |
|
Location |
InvocationImpl.getLocation() |
|
Location |
InvocationMatcher.getLocation() |
|
Location |
StubInfoImpl.stubbedAt() |
Modifier and Type | Method | Description |
---|---|---|
Location |
LocalizedMatcher.getLocation() |
Modifier and Type | Method | Description |
---|---|---|
Location |
DescribedInvocation.getLocation() |
The place in the code where the invocation happened.
|
Location |
Invocation.getLocation() |
|
Location |
StubInfo.stubbedAt() |