public class InvocationDispatcher extends Object implements ExpectationCollector, org.hamcrest.SelfDescribing
| Constructor and Description |
|---|
InvocationDispatcher() |
| 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 StateMachine newStateMachine(String name)
public void add(Expectation expectation)
add in interface ExpectationCollectorpublic void describeTo(org.hamcrest.Description description)
describeTo in interface org.hamcrest.SelfDescribingpublic void describeMismatch(Invocation invocation, org.hamcrest.Description description)
public boolean isSatisfied()
public Object dispatch(Invocation invocation) throws Throwable
ThrowableCopyright © 2003–2022 jMock. All rights reserved.