org.jmock.core.matcher
Class NoArgumentsMatcher
java.lang.Object
org.jmock.core.matcher.StatelessInvocationMatcher
org.jmock.core.matcher.NoArgumentsMatcher
- All Implemented Interfaces:
- InvocationMatcher, SelfDescribing, Verifiable
public class NoArgumentsMatcher
- extends StatelessInvocationMatcher
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final NoArgumentsMatcher INSTANCE
NoArgumentsMatcher
public NoArgumentsMatcher()
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.