public class UnsynchronisedInvocationDispatcher extends Object implements InvocationDispatcher
| Constructor and Description |
|---|
UnsynchronisedInvocationDispatcher() |
UnsynchronisedInvocationDispatcher(Collection<Expectation> theExpectations,
Collection<StateMachine> theStateMachines) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Expectation expectation) |
void |
describeMismatch(Invocation invocation,
org.hamcrest.Description description) |
void |
describeTo(org.hamcrest.Description description) |
Object |
dispatch(Invocation invocation) |
boolean |
isSatisfied() |
StateMachine |
newStateMachine(String name) |
public UnsynchronisedInvocationDispatcher()
public UnsynchronisedInvocationDispatcher(Collection<Expectation> theExpectations, Collection<StateMachine> theStateMachines)
public StateMachine newStateMachine(String name)
newStateMachine in interface InvocationDispatcherpublic void add(Expectation expectation)
add in interface ExpectationCollectoradd in interface InvocationDispatcherpublic void describeTo(org.hamcrest.Description description)
describeTo in interface org.hamcrest.SelfDescribingdescribeTo in interface InvocationDispatcherpublic void describeMismatch(Invocation invocation, org.hamcrest.Description description)
describeMismatch in interface InvocationDispatcherpublic boolean isSatisfied()
isSatisfied in interface InvocationDispatcherpublic Object dispatch(Invocation invocation) throws Throwable
dispatch in interface InvocationDispatcherThrowableCopyright © 2003–2024 jMock. All rights reserved.