|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jmock.core.matcher.InvokedRecorder
org.jmock.core.matcher.InvokeOnceMatcher
public class InvokeOnceMatcher
| Constructor Summary | |
|---|---|
InvokeOnceMatcher()
|
|
| Method Summary | |
|---|---|
java.lang.StringBuffer |
describeTo(java.lang.StringBuffer buffer)
Appends the description of this object to the buffer. |
boolean |
hasDescription()
|
boolean |
matches(Invocation invocation)
|
void |
verify()
Throw an AssertionFailedException if any expectations have not been met. |
| Methods inherited from class org.jmock.core.matcher.InvokedRecorder |
|---|
getInvocationCount, hasBeenInvoked, invoked, verifyHasBeenInvoked, verifyHasBeenInvokedExactly |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InvokeOnceMatcher()
| Method Detail |
|---|
public boolean matches(Invocation invocation)
matches in interface InvocationMatchermatches in class InvokedRecorderpublic void verify()
Verifiable
verify in interface Verifiableverify in class InvokedRecorderpublic boolean hasDescription()
hasDescription in interface InvocationMatcherhasDescription in class InvokedRecorderpublic java.lang.StringBuffer describeTo(java.lang.StringBuffer buffer)
SelfDescribing
describeTo in interface SelfDescribingdescribeTo in class InvokedRecorderbuffer - The buffer that the description is appended to.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||