1 /* Copyright (c) 2000-2004 jMock.org2 */3 package org.jmock.core;4 5 6 public interface InvocationDispatcher7 extends Verifiable, SelfDescribing8 {9 Object dispatch( Invocation invocation ) throws Throwable ;10 11 void setDefaultStub( Stub newDefaultStub );12 13 void add( Invokable invokable );14 15 void clear();16 }17