org.jmock.syntax
Interface CardinalityClause
- All Known Implementing Classes:
- Expectations
public interface CardinalityClause
exactly
ReceiverClause exactly(int count)
atLeast
ReceiverClause atLeast(int count)
between
ReceiverClause between(int minCount,
int maxCount)
atMost
ReceiverClause atMost(int count)
oneOf
<T> T oneOf(T mockObject)
one
<T> T one(T mockObject)
allowing
<T> T allowing(T mockObject)
allowing
MethodClause allowing(Matcher<?> mockObjectMatcher)
ignoring
<T> T ignoring(T mockObject)
ignoring
MethodClause ignoring(Matcher<?> mockObjectMatcher)
never
<T> T never(T mockObject)