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 and Description |
---|---|
Location |
PrintableInvocation.getLocation()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
Reporter.argumentsAreDifferent(String wanted,
String actual,
Location actualLocation) |
void |
Reporter.neverWantedButInvoked(DescribedInvocation wanted,
Location firstUndesired) |
void |
Reporter.smartNullPointerException(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 and Description |
---|---|
class |
LocationImpl |
Modifier and Type | Method and Description |
---|---|
Location |
Localized.getLocation() |
Modifier and Type | Method and Description |
---|---|
Location |
InvocationsFinder.getLastLocation(List<Invocation> invocations) |
Location |
InvocationImpl.getLocation() |
Location |
InvocationMatcher.getLocation() |
Location |
StubInfoImpl.stubbedAt() |
Modifier and Type | Method and Description |
---|---|
Location |
LocalizedMatcher.getLocation() |
Modifier and Type | Method and Description |
---|---|
Location |
DescribedInvocation.getLocation()
The place in the code where the invocation happened.
|
Location |
Invocation.getLocation() |
Location |
StubInfo.stubbedAt() |