Uses of Class
org.jmock.api.Invocation
-
Packages that use Invocation Package Description org.jmock The jMock "Domain-Specific Embedded Language" API.org.jmock.api The stable API that is used to extend jMock at its published plug-in points.org.jmock.internal This package contains internal implementation details.org.jmock.lib.action Actions that fake the behaviour of mocked invocations.org.jmock.lib.concurrent Classes to help test concurrent code with jMock.org.jmock.lib.script 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 Invocation Modifier and Type Field Description private java.util.List<Invocation>
Mockery. actualInvocations
Methods in org.jmock with parameters of type Invocation Modifier and Type Method Description private void
Mockery. describeMismatch(Invocation invocation, org.hamcrest.Description description)
private java.lang.Object
Mockery. dispatch(Invocation invocation)
java.lang.Object
Mockery.MockObject. invoke(Invocation invocation)
-
Uses of Invocation in org.jmock.api
Fields in org.jmock.api declared as Invocation Modifier and Type Field Description Invocation
ExpectationError. invocation
Methods in org.jmock.api with parameters of type Invocation Modifier and Type Method Description void
Expectation. describeMismatch(Invocation invocation, org.hamcrest.Description description)
void
InvocationDispatcher. describeMismatch(Invocation invocation, org.hamcrest.Description description)
java.lang.Object
InvocationDispatcher. dispatch(Invocation invocation)
boolean
Invocation. equals(Invocation other)
java.lang.Object
Expectation. invoke(Invocation invocation)
Invokes the expectation: records that the invocation has occurred and fakes some behaviour in response.java.lang.Object
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(java.lang.String message, Invocation invocation)
Constructors in org.jmock.api with parameters of type Invocation Constructor Description ExpectationError(java.lang.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 Invocation Modifier and Type Method Description private void
InvocationExpectationBuilder. checkParameterMatcherCount(Invocation invocation)
void
ExpectationCapture. createExpectationFrom(Invocation invocation)
void
InvocationExpectationBuilder. createExpectationFrom(Invocation invocation)
void
InvocationExpectation. describeMismatch(Invocation invocation, org.hamcrest.Description description)
java.lang.Object
FakeObjectMethods. invoke(Invocation invocation)
java.lang.Object
InvocationDiverter. invoke(Invocation invocation)
java.lang.Object
InvocationExpectation. invoke(Invocation invocation)
java.lang.Object
InvocationToExpectationTranslator. invoke(Invocation invocation)
java.lang.Object
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 Invocation Modifier and Type Method Description java.lang.Object
ActionSequence. invoke(Invocation invocation)
java.lang.Object
DoAllAction. invoke(Invocation invocation)
java.util.Enumeration<?>
ReturnEnumerationAction. invoke(Invocation invocation)
java.util.Iterator<?>
ReturnIteratorAction. invoke(Invocation invocation)
java.lang.Object
ReturnValueAction. invoke(Invocation invocation)
java.lang.Object
ThrowAction. invoke(Invocation invocation)
java.lang.Object
VoidAction. invoke(Invocation invocation)
-
Uses of Invocation in org.jmock.lib.concurrent
Methods in org.jmock.lib.concurrent with parameters of type Invocation Modifier and Type Method Description private java.lang.Iterable<org.hamcrest.SelfDescribing>
UnsynchronisedInvocationDispatcher. describedWith(java.lang.Iterable<Expectation> expectations, Invocation invocation)
void
SynchronisingInvocationDispatcherWrapper. describeMismatch(Invocation invocation, org.hamcrest.Description description)
void
UnsynchronisedInvocationDispatcher. describeMismatch(Invocation invocation, org.hamcrest.Description description)
java.lang.Object
SynchronisingInvocationDispatcherWrapper. dispatch(Invocation invocation)
java.lang.Object
UnsynchronisedInvocationDispatcher. dispatch(Invocation invocation)
private java.lang.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 Invocation Modifier and Type Method Description private void
ScriptedAction. defineParameters(bsh.Interpreter interpreter, Invocation invocation)
java.lang.Object
ScriptedAction. invoke(Invocation invocation)
-