org.jmock.core.matcher

Class InvokeOnceMatcher

Implemented Interfaces:
InvocationMatcher, SelfDescribing, Verifiable

public class InvokeOnceMatcher
extends InvokedRecorder

Method Summary

StringBuffer
describeTo(StringBuffer buffer)
boolean
hasDescription()
boolean
matches(Invocation invocation)
void
verify()

Methods inherited from class org.jmock.core.matcher.InvokedRecorder

describeTo, hasBeenInvoked, hasDescription, invoked, matches, verify, verifyHasBeenInvoked

Method Details

describeTo

public StringBuffer describeTo(StringBuffer buffer)
Specified by:
describeTo in interface SelfDescribing
Overrides:
describeTo in interface InvokedRecorder

hasDescription

public boolean hasDescription()
Specified by:
hasDescription in interface InvocationMatcher
Overrides:
hasDescription in interface InvokedRecorder

matches

public boolean matches(Invocation invocation)
Specified by:
matches in interface InvocationMatcher
Overrides:
matches in interface InvokedRecorder

verify

public void verify()
Specified by:
verify in interface Verifiable
Overrides:
verify in interface InvokedRecorder