Uses of Interface
org.jmock.api.Expectation
Packages that use Expectation
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.
Classes to help test concurrent code with jMock.
-
Uses of Expectation in org.jmock
Methods in org.jmock with parameters of type ExpectationModifier and TypeMethodDescriptionvoid
Mockery.addExpectation
(Expectation expectation) Adds an expected invocation that the object under test will perform upon objects in its context during the test. -
Uses of Expectation in org.jmock.api
Methods in org.jmock.api with parameters of type ExpectationModifier and TypeMethodDescriptionvoid
ExpectationCollector.add
(Expectation expectation) void
InvocationDispatcher.add
(Expectation expectation) -
Uses of Expectation in org.jmock.internal
Classes in org.jmock.internal that implement ExpectationModifier and TypeClassDescriptionclass
An expectation of zero or more matching invocations.Fields in org.jmock.internal with type parameters of type ExpectationMethods in org.jmock.internal that return ExpectationModifier and TypeMethodDescriptionInvocationExpectationBuilder.toExpectation
(Action defaultAction) -
Uses of Expectation in org.jmock.lib.concurrent
Fields in org.jmock.lib.concurrent with type parameters of type ExpectationModifier and TypeFieldDescriptionprivate final Collection<Expectation>
UnsynchronisedInvocationDispatcher.expectations
Methods in org.jmock.lib.concurrent with parameters of type ExpectationModifier and TypeMethodDescriptionvoid
SynchronisingInvocationDispatcherWrapper.add
(Expectation expectation) void
UnsynchronisedInvocationDispatcher.add
(Expectation expectation) Method parameters in org.jmock.lib.concurrent with type arguments of type ExpectationModifier and TypeMethodDescriptionprivate Iterable<org.hamcrest.SelfDescribing>
UnsynchronisedInvocationDispatcher.describedWith
(Iterable<Expectation> expectations, Invocation invocation) Constructor parameters in org.jmock.lib.concurrent with type arguments of type ExpectationModifierConstructorDescriptionUnsynchronisedInvocationDispatcher
(Collection<Expectation> theExpectations, Collection<StateMachine> theStateMachines)