org.jmock.internal
Class InvocationDispatcher
java.lang.Object
org.jmock.internal.InvocationDispatcher
- All Implemented Interfaces:
- org.hamcrest.SelfDescribing, ExpectationCollector
public class InvocationDispatcher
- extends Object
- implements ExpectationCollector, org.hamcrest.SelfDescribing
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvocationDispatcher
public InvocationDispatcher()
newStateMachine
public StateMachine newStateMachine(String name)
add
public void add(Expectation expectation)
- Specified by:
add in interface ExpectationCollector
describeTo
public void describeTo(org.hamcrest.Description description)
- Specified by:
describeTo in interface org.hamcrest.SelfDescribing
describeMismatch
public void describeMismatch(Invocation invocation,
org.hamcrest.Description description)
isSatisfied
public boolean isSatisfied()
dispatch
public Object dispatch(Invocation invocation)
throws Throwable
- Throws:
Throwable
Copyright © 2003-2012 jMock. All Rights Reserved.