public class SynchronisingInvocationDispatcherWrapper extends Object implements InvocationDispatcher
| Constructor and Description |
|---|
SynchronisingInvocationDispatcherWrapper(InvocationDispatcher dispatcher) |
| 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 SynchronisingInvocationDispatcherWrapper(InvocationDispatcher dispatcher)
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–2025 jMock. All rights reserved.