org.jmock.dynamic
Class LIFOInvocationDispatcher

java.lang.Object
  extended byorg.jmock.dynamic.LIFOInvocationDispatcher
All Implemented Interfaces:
InvocationDispatcher, Verifiable

public class LIFOInvocationDispatcher
extends java.lang.Object
implements InvocationDispatcher


Constructor Summary
LIFOInvocationDispatcher()
           
 
Method Summary
 void add(Invokable invokable)
           
 void clear()
           
 java.lang.Object dispatch(Invocation invocation)
           
 void verify()
          Throw an AssertionFailedException if any expectations have not been met.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LIFOInvocationDispatcher

public LIFOInvocationDispatcher()
Method Detail

dispatch

public java.lang.Object dispatch(Invocation invocation)
                          throws java.lang.Throwable
Specified by:
dispatch in interface InvocationDispatcher
Throws:
java.lang.Throwable

add

public void add(Invokable invokable)
Specified by:
add in interface InvocationDispatcher

verify

public void verify()
Description copied from interface: Verifiable
Throw an AssertionFailedException if any expectations have not been met.

Specified by:
verify in interface Verifiable

clear

public void clear()
Specified by:
clear in interface InvocationDispatcher


Copyright © 2003 jMock.org. All Rights Reserved.