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