Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
org.mockito.invocation.Invocation

Packages that use Invocation
org.mockito.exceptions | Exception messages, exception hierarchies.
org.mockito.internal | Internal classes, not to be used by clients.
org.mockito.internal.debugging | Whatever helps in debugging failed tests
org.mockito.internal.invocation | Invocation and related classes.
org.mockito.internal.invocation.finder |
org.mockito.internal.listeners |
org.mockito.internal.progress | Mocking progress stateful classes.
org.mockito.internal.reporting | Deals with nicely printing verification errors
org.mockito.internal.stubbing | Stubbing logic.
org.mockito.internal.stubbing.answers | Answers for stubbed calls
org.mockito.internal.verification | Verification logic.
org.mockito.internal.verification.api | This package should be open to public once verification API is fully finished
org.mockito.internal.verification.checkers | verification checkers
org.mockito.invocation | Public API related to invocation

Uses of Invocation in org.mockito.exceptions

Methods in org.mockito.exceptions with parameters of type Invocation
`void` | `Reporter.noMoreInteractionsWanted(Invocation undesired, java.util.List<VerificationAwareInvocation> invocations)`
`void` | `Reporter.noMoreInteractionsWantedInOrder(Invocation undesired)`

Uses of Invocation in org.mockito.internal

Methods in org.mockito.internal that return Invocation
`Invocation` | `MockitoCore.getLastInvocation()` For testing purposes only.

Methods in org.mockito.internal with parameters of type Invocation
`boolean` | `InOrderImpl.isVerified(Invocation i)`
`void` | `InOrderImpl.markVerified(Invocation i)`

Uses of Invocation in org.mockito.internal.debugging

Methods in org.mockito.internal.debugging with parameters of type Invocation
`void` | `LoggingListener.foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed)`
`void` | `FindingsListener.foundStubCalledWithDifferentArgs(Invocation unused, InvocationMatcher unstubbed)`
`void` | `LoggingListener.foundUnusedStub(Invocation unused)`
`void` | `FindingsListener.foundUnusedStub(Invocation unused)`

Constructor parameters in org.mockito.internal.debugging with type arguments of type Invocation
`WarningsFinder(java.util.List<Invocation> unusedStubs, java.util.List<InvocationMatcher> allInvocations)`
`WarningsPrinterImpl(java.util.List<Invocation> unusedStubs, java.util.List<InvocationMatcher> unstubbedInvocations)`
`WarningsPrinterImpl(java.util.List<Invocation> unusedStubs, java.util.List<InvocationMatcher> allInvocations, boolean warnAboutUnstubbed)`

Uses of Invocation in org.mockito.internal.invocation

Classes in org.mockito.internal.invocation that implement Invocation
`class` | `InvocationImpl` Method call on a mock object.

Methods in org.mockito.internal.invocation that return Invocation
`Invocation` | `InvocationsFinder.findFirstMatchingUnverifiedInvocation(java.util.List<Invocation> invocations, InvocationMatcher wanted, InOrderContext context)`
`Invocation` | `InvocationsFinder.findFirstUnverified(java.util.List<Invocation> invocations)`
`Invocation` | `InvocationsFinder.findFirstUnverifiedInOrder(InOrderContext context, java.util.List<Invocation> orderedInvocations)` i3 is unverified here: i1, i2, i3 v all good here: i1, i2, i3 v v
`Invocation` | `InvocationsFinder.findPreviousVerifiedInOrder(java.util.List<Invocation> invocations, InOrderContext context)`
`Invocation` | `InvocationsFinder.findSimilarInvocation(java.util.List<Invocation> invocations, InvocationMatcher wanted)`
`Invocation` | `InvocationMatcher.getInvocation()`

Methods in org.mockito.internal.invocation that return types with arguments of type Invocation
`java.util.List<Invocation>` | `UnusedStubsFinder.find(java.util.List<?> mocks)` Finds all unused stubs for given mocks
`java.util.List<Invocation>` | `InvocationsFinder.findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations, InvocationMatcher wanted, InOrderContext orderingContext)`
`java.util.List<Invocation>` | `InvocationsFinder.findInvocations(java.util.List<Invocation> invocations, InvocationMatcher wanted)`
`java.util.List<Invocation>` | `InvocationsFinder.findMatchingChunk(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)` some examples how it works: Given invocations sequence: 1,1,2,1 if wanted is 1 and mode is times(2) then returns 1,1 if wanted is 1 and mode is atLeast() then returns 1,1,1 if wanted is 1 and mode is times(x), where x != 2 then returns 1,1,1

Methods in org.mockito.internal.invocation with parameters of type Invocation
`boolean` | `ArgumentsComparator.argumentsMatch(InvocationMatcher invocationMatcher, Invocation actual)`
`InvocationMatcher` | `MatchersBinder.bindMatchers(ArgumentMatcherStorage argumentMatcherStorage, Invocation invocation)`
`void` | `InvocationMatcher.captureArgumentsFrom(Invocation i)`
`void` | `CapturesArgumensFromInvocation.captureArgumentsFrom(Invocation i)`
`boolean` | `InvocationMatcher.hasSameMethod(Invocation candidate)`
`boolean` | `InvocationMatcher.hasSimilarMethod(Invocation candidate)` similar means the same method name, same mock, unverified and: if arguments are the same cannot be overloaded
`void` | `InvocationMarker.markVerified(Invocation invocation, CapturesArgumensFromInvocation wanted)`
`boolean` | `InvocationMatcher.matches(Invocation actual)`

Method parameters in org.mockito.internal.invocation with type arguments of type Invocation
`static java.util.List<InvocationMatcher>` | `InvocationMatcher.createFrom(java.util.List<Invocation> invocations)`
`java.util.List<Invocation>` | `InvocationsFinder.findAllMatchingUnverifiedChunks(java.util.List<Invocation> invocations, InvocationMatcher wanted, InOrderContext orderingContext)`
`Invocation` | `InvocationsFinder.findFirstMatchingUnverifiedInvocation(java.util.List<Invocation> invocations, InvocationMatcher wanted, InOrderContext context)`
`Invocation` | `InvocationsFinder.findFirstUnverified(java.util.List<Invocation> invocations)`
`Invocation` | `InvocationsFinder.findFirstUnverifiedInOrder(InOrderContext context, java.util.List<Invocation> orderedInvocations)` i3 is unverified here: i1, i2, i3 v all good here: i1, i2, i3 v v
`java.util.List<Invocation>` | `InvocationsFinder.findInvocations(java.util.List<Invocation> invocations, InvocationMatcher wanted)`
`java.util.List<Invocation>` | `InvocationsFinder.findMatchingChunk(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)` some examples how it works: Given invocations sequence: 1,1,2,1 if wanted is 1 and mode is times(2) then returns 1,1 if wanted is 1 and mode is atLeast() then returns 1,1,1 if wanted is 1 and mode is times(x), where x != 2 then returns 1,1,1
`Invocation` | `InvocationsFinder.findPreviousVerifiedInOrder(java.util.List<Invocation> invocations, InOrderContext context)`
`Invocation` | `InvocationsFinder.findSimilarInvocation(java.util.List<Invocation> invocations, InvocationMatcher wanted)`
`Location` | `InvocationsFinder.getLastLocation(java.util.List<Invocation> invocations)`
`void` | `InvocationMarker.markVerified(java.util.List<Invocation> invocations, CapturesArgumensFromInvocation wanted)`
`void` | `InvocationMarker.markVerifiedInOrder(java.util.List<Invocation> chunk, CapturesArgumensFromInvocation wanted, InOrderContext context)`

Constructors in org.mockito.internal.invocation with parameters of type Invocation
`InvocationMatcher(Invocation invocation)`
`InvocationMatcher(Invocation invocation, java.util.List<org.hamcrest.Matcher> matchers)`

Uses of Invocation in org.mockito.internal.invocation.finder

Methods in org.mockito.internal.invocation.finder that return types with arguments of type Invocation
`java.util.List<Invocation>` | `VerifiableInvocationsFinder.find(java.util.List<?> mocks)`
`java.util.List<Invocation>` | `AllInvocationsFinder.find(java.util.List<?> mocks)` gets all invocations from mocks.

Uses of Invocation in org.mockito.internal.listeners

Constructors in org.mockito.internal.listeners with parameters of type Invocation
`NotifiedMethodInvocationReport(Invocation invocation, java.lang.Object returnedValue)` Build a new `MethodInvocationReport` with a return value.
`NotifiedMethodInvocationReport(Invocation invocation, java.lang.Throwable throwable)` Build a new `MethodInvocationReport` with a return value.

Uses of Invocation in org.mockito.internal.progress

Methods in org.mockito.internal.progress with parameters of type Invocation
`void` | `ThreadSafeMockingProgress.stubbingCompleted(Invocation invocation)`
`void` | `MockingProgressImpl.stubbingCompleted(Invocation invocation)`
`void` | `MockingProgress.stubbingCompleted(Invocation invocation)`

Uses of Invocation in org.mockito.internal.reporting

Methods in org.mockito.internal.reporting with parameters of type Invocation
`java.lang.String` | `PrintSettings.print(Invocation invocation)`
`java.lang.String` | `PrintSettings.print(java.util.List<org.hamcrest.Matcher> matchers, Invocation invocation)`

Constructors in org.mockito.internal.reporting with parameters of type Invocation
`SmartPrinter(InvocationMatcher wanted, Invocation actual, java.lang.Integer... indexesOfMatchersToBeDescribedWithExtraTypeInfo)`

Uses of Invocation in org.mockito.internal.stubbing

Methods in org.mockito.internal.stubbing that return types with arguments of type Invocation
`java.util.List<Invocation>` | `InvocationContainerImpl.getInvocations()`
`java.util.List<Invocation>` | `InvocationContainer.getInvocations()`
`java.util.List<Invocation>` | `OngoingStubbingImpl.getRegisteredInvocations()`

Methods in org.mockito.internal.stubbing with parameters of type Invocation
`StubbedInvocationMatcher` | `InvocationContainerImpl.findAnswerFor(Invocation invocation)`

Uses of Invocation in org.mockito.internal.stubbing.answers

Methods in org.mockito.internal.stubbing.answers with parameters of type Invocation
`void` | `AnswersValidator.validate(Answer<?> answer, Invocation invocation)`

Constructors in org.mockito.internal.stubbing.answers with parameters of type Invocation
`MethodInfo(Invocation theInvocation)`

Uses of Invocation in org.mockito.internal.verification

Methods in org.mockito.internal.verification that return types with arguments of type Invocation
`java.util.List<Invocation>` | `RegisteredInvocations.getAll()`
`java.util.List<Invocation>` | `VerificationDataImpl.getAllInvocations()`

Methods in org.mockito.internal.verification with parameters of type Invocation
`void` | `RegisteredInvocations.add(Invocation invocation)`
`boolean` | `InOrderContextImpl.isVerified(Invocation invocation)`
`void` | `InOrderContextImpl.markVerified(Invocation i)`

Uses of Invocation in org.mockito.internal.verification.api

Methods in org.mockito.internal.verification.api that return types with arguments of type Invocation
`java.util.List<Invocation>` | `VerificationDataInOrderImpl.getAllInvocations()`
`java.util.List<Invocation>` | `VerificationDataInOrder.getAllInvocations()`
`java.util.List<Invocation>` | `VerificationData.getAllInvocations()`

Methods in org.mockito.internal.verification.api with parameters of type Invocation
`boolean` | `InOrderContext.isVerified(Invocation invocation)`
`void` | `InOrderContext.markVerified(Invocation i)`

Constructor parameters in org.mockito.internal.verification.api with type arguments of type Invocation
`VerificationDataInOrderImpl(InOrderContext inOrder, java.util.List<Invocation> allInvocations, InvocationMatcher wanted)`

Uses of Invocation in org.mockito.internal.verification.checkers

Method parameters in org.mockito.internal.verification.checkers with type arguments of type Invocation
`void` | `MissingInvocationChecker.check(java.util.List<Invocation> invocations, InvocationMatcher wanted)`
`void` | `NumberOfInvocationsChecker.check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount)`
`void` | `AtLeastXNumberOfInvocationsInOrderChecker.check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount)`
`void` | `AtLeastXNumberOfInvocationsChecker.check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount)`
`void` | `NumberOfInvocationsInOrderChecker.check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)`
`void` | `NonGreedyNumberOfInvocationsInOrderChecker.check(java.util.List<Invocation> invocations, InvocationMatcher wanted, int wantedCount, InOrderContext context)`
`void` | `MissingInvocationInOrderChecker.check(java.util.List<Invocation> invocations, InvocationMatcher wanted, VerificationMode mode, InOrderContext context)`

Uses of Invocation in org.mockito.invocation

Methods in org.mockito.invocation with parameters of type Invocation
`java.lang.Object` | `MockHandler.handle(Invocation invocation)` Takes an invocation object and handles it.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES