org.jmock.core.matcher
Class StatelessInvocationMatcher

java.lang.Object
  extended by org.jmock.core.matcher.StatelessInvocationMatcher
All Implemented Interfaces:
InvocationMatcher, SelfDescribing, Verifiable
Direct Known Subclasses:
AnyArgumentsMatcher, ArgumentsMatcher, InvokedAfterMatcher, MethodNameMatcher, NoArgumentsMatcher

public abstract class StatelessInvocationMatcher
extends Object
implements InvocationMatcher


Constructor Summary
StatelessInvocationMatcher()
           
 
Method Summary
 boolean hasDescription()
           
 void invoked(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
 
Methods inherited from interface org.jmock.core.InvocationMatcher
matches
 
Methods inherited from interface org.jmock.core.SelfDescribing
describeTo
 

Constructor Detail

StatelessInvocationMatcher

public StatelessInvocationMatcher()
Method Detail

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

hasDescription

public boolean hasDescription()
Specified by:
hasDescription in interface InvocationMatcher