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 InvocationDispatcher
public void add(Expectation expectation)
add
in interface ExpectationCollector
add
in interface InvocationDispatcher
public void describeTo(org.hamcrest.Description description)
describeTo
in interface org.hamcrest.SelfDescribing
describeTo
in interface InvocationDispatcher
public void describeMismatch(Invocation invocation, org.hamcrest.Description description)
describeMismatch
in interface InvocationDispatcher
public boolean isSatisfied()
isSatisfied
in interface InvocationDispatcher
public Object dispatch(Invocation invocation) throws Throwable
dispatch
in interface InvocationDispatcher
Throwable
Copyright © 2003–2024 jMock. All rights reserved.