## org.jmock.syntax
Interface CardinalityClause

All Known Implementing Classes:
  Expectations

    public interface CardinalityClause

Method Summary
`MethodClause` `allowing(<any> 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(<any> mockObjectMatcher)`

`

`<T> T`

`

`ignoring(T mockObject)`

`

`<T> T`

`

`never(T mockObject)`

`

`<T> T`

`

`one(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)

### one

    <T> T one(T mockObject)

### allowing

    <T> T allowing(T mockObject)

### allowing

    MethodClause allowing(<any> mockObjectMatcher)

### ignoring

    <T> T ignoring(T mockObject)

### ignoring

    MethodClause ignoring(<any> mockObjectMatcher)

### never

    <T> T never(T mockObject)