org.jmock.core.matcher

Class NoArgumentsMatcher

Implemented Interfaces:
InvocationMatcher, SelfDescribing, Verifiable

public class NoArgumentsMatcher
extends StatelessInvocationMatcher

Field Summary

static NoArgumentsMatcher
INSTANCE

Method Summary

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

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

hasDescription, invoked, verify

Field Details

INSTANCE

public static final NoArgumentsMatcher INSTANCE

Method Details

describeTo

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

matches

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