org.jmock.core.matcher

Class InvokedAfterMatcher

Implemented Interfaces:
InvocationMatcher, SelfDescribing, Verifiable

public class InvokedAfterMatcher
extends StatelessInvocationMatcher

Constructor Summary

InvokedAfterMatcher(InvokedRecorder priorCallRecorder, String priorCallDescription)

Method Summary

StringBuffer
describeTo(StringBuffer buffer)
void
invoked(Invocation invocation)
boolean
matches(Invocation invocation)

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

hasDescription, invoked, verify

Constructor Details

InvokedAfterMatcher

public InvokedAfterMatcher(InvokedRecorder priorCallRecorder,
                           String priorCallDescription)

Method Details

describeTo

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

invoked

public void invoked(Invocation invocation)
Specified by:
invoked in interface InvocationMatcher
Overrides:
invoked in interface StatelessInvocationMatcher

matches

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