org.jmock.core.matcher
public class InvokeAtMostOnceMatcher extends InvokedRecorder
Constructor and Description |
---|
InvokeAtMostOnceMatcher() |
Modifier and Type | Method and Description |
---|---|
java.lang.StringBuffer |
describeTo(java.lang.StringBuffer buffer)
Appends the description of this object to the buffer.
|
boolean |
hasDescription() |
boolean |
matches(Invocation invocation) |
getInvocationCount, hasBeenInvoked, invoked, verify, verifyHasBeenInvoked, verifyHasBeenInvokedExactly
public boolean matches(Invocation invocation)
matches
in interface InvocationMatcher
matches
in class InvokedRecorder
public boolean hasDescription()
hasDescription
in interface InvocationMatcher
hasDescription
in class InvokedRecorder
public java.lang.StringBuffer describeTo(java.lang.StringBuffer buffer)
SelfDescribing
describeTo
in interface SelfDescribing
describeTo
in class InvokedRecorder
buffer
- The buffer that the description is appended to.