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, verifyHasBeenInvokedExactlypublic boolean matches(Invocation invocation)
matches in interface InvocationMatchermatches in class InvokedRecorderpublic boolean hasDescription()
hasDescription in interface InvocationMatcherhasDescription in class InvokedRecorderpublic java.lang.StringBuffer describeTo(java.lang.StringBuffer buffer)
SelfDescribingdescribeTo in interface SelfDescribingdescribeTo in class InvokedRecorderbuffer - The buffer that the description is appended to.