Uses of Class
org.jmock.api.Invocation
Packages that use Invocation
Package
Description
The jMock "Domain-Specific Embedded Language" API.
The stable API that is used to extend jMock at its published plug-in points.
This package contains internal implementation details.
Actions that fake the behaviour of mocked invocations.
Classes to help test concurrent code with jMock.
Plugins that make it easier to write custom actions by scripting their
behaviour with BeanShell.
-
Uses of Invocation in org.jmock
Fields in org.jmock with type parameters of type InvocationMethods in org.jmock with parameters of type InvocationModifier and TypeMethodDescriptionprivate void
Mockery.describeMismatch
(Invocation invocation, org.hamcrest.Description description) private Object
Mockery.dispatch
(Invocation invocation) Mockery.MockObject.invoke
(Invocation invocation) -
Uses of Invocation in org.jmock.api
Fields in org.jmock.api declared as InvocationMethods in org.jmock.api with parameters of type InvocationModifier and TypeMethodDescriptionvoid
Expectation.describeMismatch
(Invocation invocation, org.hamcrest.Description description) void
InvocationDispatcher.describeMismatch
(Invocation invocation, org.hamcrest.Description description) InvocationDispatcher.dispatch
(Invocation invocation) boolean
Invocation.equals
(Invocation other) Expectation.invoke
(Invocation invocation) Invokes the expectation: records that the invocation has occurred and fakes some behaviour in response.Invokable.invoke
(Invocation invocation) Performs an action in response to an invocation.boolean
Expectation.matches
(Invocation invocation) Can the Expectation be invoked with invocation?static ExpectationError
ExpectationError.unexpected
(String message, Invocation invocation) Constructors in org.jmock.api with parameters of type InvocationModifierConstructorDescriptionExpectationError
(String message, org.hamcrest.SelfDescribing expectations, Invocation invocation) Invocation
(Invocation.ExpectationMode mode, Invocation other) -
Uses of Invocation in org.jmock.internal
Methods in org.jmock.internal with parameters of type InvocationModifier and TypeMethodDescriptionprivate void
InvocationExpectationBuilder.checkParameterMatcherCount
(Invocation invocation) void
ExpectationCapture.createExpectationFrom
(Invocation invocation) void
InvocationExpectationBuilder.createExpectationFrom
(Invocation invocation) void
InvocationExpectation.describeMismatch
(Invocation invocation, org.hamcrest.Description description) FakeObjectMethods.invoke
(Invocation invocation) InvocationDiverter.invoke
(Invocation invocation) InvocationExpectation.invoke
(Invocation invocation) InvocationToExpectationTranslator.invoke
(Invocation invocation) ReturnDefaultValueAction.invoke
(Invocation invocation) boolean
InvocationExpectation.matches
(Invocation invocation) -
Uses of Invocation in org.jmock.lib.action
Methods in org.jmock.lib.action with parameters of type InvocationModifier and TypeMethodDescriptionActionSequence.invoke
(Invocation invocation) DoAllAction.invoke
(Invocation invocation) Enumeration
<?> ReturnEnumerationAction.invoke
(Invocation invocation) Iterator
<?> ReturnIteratorAction.invoke
(Invocation invocation) ReturnValueAction.invoke
(Invocation invocation) ThrowAction.invoke
(Invocation invocation) VoidAction.invoke
(Invocation invocation) -
Uses of Invocation in org.jmock.lib.concurrent
Methods in org.jmock.lib.concurrent with parameters of type InvocationModifier and TypeMethodDescriptionprivate Iterable
<org.hamcrest.SelfDescribing> UnsynchronisedInvocationDispatcher.describedWith
(Iterable<Expectation> expectations, Invocation invocation) void
SynchronisingInvocationDispatcherWrapper.describeMismatch
(Invocation invocation, org.hamcrest.Description description) void
UnsynchronisedInvocationDispatcher.describeMismatch
(Invocation invocation, org.hamcrest.Description description) SynchronisingInvocationDispatcherWrapper.dispatch
(Invocation invocation) UnsynchronisedInvocationDispatcher.dispatch
(Invocation invocation) private Object
Synchroniser.synchroniseInvocation
(Invokable mockObject, Invocation invocation) -
Uses of Invocation in org.jmock.lib.script
Methods in org.jmock.lib.script with parameters of type InvocationModifier and TypeMethodDescriptionprivate void
ScriptedAction.defineParameters
(bsh.Interpreter interpreter, Invocation invocation) ScriptedAction.invoke
(Invocation invocation)