org.jmock.core

Interface InvocationDispatcher

All Superinterfaces:
SelfDescribing, Verifiable
Known Implementing Classes:
FIFOInvocationDispatcher, LIFOInvocationDispatcher

public interface InvocationDispatcher
extends Verifiable, SelfDescribing

Method Summary

void
add(Invokable invokable)
void
clear()
Object
dispatch(Invocation invocation)
void
setDefaultStub(Stub newDefaultStub)

Methods inherited from interface org.jmock.core.SelfDescribing

describeTo

Methods inherited from interface org.jmock.core.Verifiable

verify

Method Details

add

public void add(Invokable invokable)

clear

public void clear()

dispatch

public Object dispatch(Invocation invocation)
            throws Throwable

setDefaultStub

public void setDefaultStub(Stub newDefaultStub)