Package org.jmock.api
Interface InvocationDispatcher
- All Superinterfaces:
ExpectationCollector
,org.hamcrest.SelfDescribing
- All Known Implementing Classes:
SynchronisingInvocationDispatcherWrapper
,UnsynchronisedInvocationDispatcher
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(Expectation expectation) void
describeMismatch
(Invocation invocation, org.hamcrest.Description description) void
describeTo
(org.hamcrest.Description description) dispatch
(Invocation invocation) boolean
newStateMachine
(String name)
-
Method Details
-
newStateMachine
-
add
- Specified by:
add
in interfaceExpectationCollector
-
describeTo
void describeTo(org.hamcrest.Description description) - Specified by:
describeTo
in interfaceorg.hamcrest.SelfDescribing
-
describeMismatch
-
isSatisfied
boolean isSatisfied() -
dispatch
- Throws:
Throwable
-