org.jmock.syntax

## Interface CardinalityClause

All Known Implementing Classes:
  Expectations

    public interface CardinalityClause

### Method Summary

Methods
`MethodClause` `allowing(Matcher<?> mockObjectMatcher)`
`<T> T` `allowing(T mockObject)`
`ReceiverClause` `atLeast(int count)`
`ReceiverClause` `atMost(int count)`
`ReceiverClause` `between(int minCount, int maxCount)`
`ReceiverClause` `exactly(int count)`
`MethodClause` `ignoring(Matcher<?> mockObjectMatcher)`
`<T> T` `ignoring(T mockObject)`
`<T> T` `never(T mockObject)`
`<T> T` `one(T mockObject)`
`<T> T` `oneOf(T mockObject)`

### Method Detail

#### 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)