Uses of Interface
org.jmock.api.Expectation
-
Packages that use Expectation 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.concurrent Classes to help test concurrent code with jMock. -
-
Uses of Expectation in org.jmock
Methods in org.jmock with parameters of type Expectation Modifier and Type Method Description void
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 Expectation Modifier and Type Method Description void
ExpectationCollector. add(Expectation expectation)
void
InvocationDispatcher. add(Expectation expectation)
-
Uses of Expectation in org.jmock.internal
Classes in org.jmock.internal that implement Expectation Modifier and Type Class Description class
InvocationExpectation
An expectation of zero or more matching invocations.Fields in org.jmock.internal with type parameters of type Expectation Modifier and Type Field Description private java.util.List<Expectation>
NamedSequence. elements
Methods in org.jmock.internal that return Expectation Modifier and Type Method Description Expectation
InvocationExpectationBuilder. toExpectation(Action defaultAction)
-
Uses of Expectation in org.jmock.lib.concurrent
Fields in org.jmock.lib.concurrent with type parameters of type Expectation Modifier and Type Field Description private java.util.Collection<Expectation>
UnsynchronisedInvocationDispatcher. expectations
Methods in org.jmock.lib.concurrent with parameters of type Expectation Modifier and Type Method Description void
SynchronisingInvocationDispatcherWrapper. add(Expectation expectation)
void
UnsynchronisedInvocationDispatcher. add(Expectation expectation)
Method parameters in org.jmock.lib.concurrent with type arguments of type Expectation Modifier and Type Method Description private java.lang.Iterable<org.hamcrest.SelfDescribing>
UnsynchronisedInvocationDispatcher. describedWith(java.lang.Iterable<Expectation> expectations, Invocation invocation)
Constructor parameters in org.jmock.lib.concurrent with type arguments of type Expectation Constructor Description UnsynchronisedInvocationDispatcher(java.util.Collection<Expectation> theExpectations, java.util.Collection<StateMachine> theStateMachines)
-