org.jmock.matcher
Class CallOnceMatcher

java.lang.Object
  extended byorg.jmock.matcher.CallOnceMatcher
All Implemented Interfaces:
InvocationMatcher, Verifiable

public class CallOnceMatcher
extends java.lang.Object
implements InvocationMatcher


Constructor Summary
CallOnceMatcher()
           
 
Method Summary
 void invoked(Invocation invocation)
           
 boolean matches(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

CallOnceMatcher

public CallOnceMatcher()
Method Detail

matches

public boolean matches(Invocation invocation)
Specified by:
matches in interface InvocationMatcher

invoked

public void invoked(Invocation invocation)
Specified by:
invoked in interface InvocationMatcher

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


Copyright © 2003 jMock.org. All Rights Reserved.