org.jmock.core.matcher
Class AnyArgumentsMatcher

java.lang.Object
  extended by org.jmock.core.matcher.StatelessInvocationMatcher
      extended by org.jmock.core.matcher.AnyArgumentsMatcher
All Implemented Interfaces:
InvocationMatcher, SelfDescribing, Verifiable

public class AnyArgumentsMatcher
extends StatelessInvocationMatcher


Field Summary
static AnyArgumentsMatcher INSTANCE
           
 
Constructor Summary
AnyArgumentsMatcher()
           
 
Method Summary
 StringBuffer describeTo(StringBuffer buffer)
          Appends the description of this object to the buffer.
 boolean matches(Invocation invocation)
           
 
Methods inherited from class org.jmock.core.matcher.StatelessInvocationMatcher
hasDescription, invoked, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final AnyArgumentsMatcher INSTANCE
Constructor Detail

AnyArgumentsMatcher

public AnyArgumentsMatcher()
Method Detail

matches

public boolean matches(Invocation invocation)

describeTo

public StringBuffer describeTo(StringBuffer buffer)
Description copied from interface: SelfDescribing
Appends the description of this object to the buffer.

Parameters:
buffer - The buffer that the description is appended to.
Returns:
The buffer passed to the invokedMethod.