Package org.jmock.core.matcher
Class InvokedAfterMatcher
- java.lang.Object
-
- org.jmock.core.matcher.StatelessInvocationMatcher
-
- org.jmock.core.matcher.InvokedAfterMatcher
-
- All Implemented Interfaces:
InvocationMatcher,SelfDescribing,Verifiable
public class InvokedAfterMatcher extends StatelessInvocationMatcher
-
-
Constructor Summary
Constructors Constructor Description InvokedAfterMatcher(InvokedRecorder priorCallRecorder, java.lang.String priorCallDescription)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBufferdescribeTo(java.lang.StringBuffer buffer)Appends the description of this object to the buffer.voidinvoked(Invocation invocation)booleanmatches(Invocation invocation)-
Methods inherited from class org.jmock.core.matcher.StatelessInvocationMatcher
hasDescription, verify
-
-
-
-
Constructor Detail
-
InvokedAfterMatcher
public InvokedAfterMatcher(InvokedRecorder priorCallRecorder, java.lang.String priorCallDescription)
-
-
Method Detail
-
matches
public boolean matches(Invocation invocation)
-
invoked
public void invoked(Invocation invocation)
- Specified by:
invokedin interfaceInvocationMatcher- Overrides:
invokedin classStatelessInvocationMatcher
-
describeTo
public java.lang.StringBuffer describeTo(java.lang.StringBuffer buffer)
Description copied from interface:SelfDescribingAppends 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.
-
-