Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jmock.syntax
Interface CardinalityClause

All Known Implementing Classes:
  Expectations

    public interface CardinalityClause

Method Summary
`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)`

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(Matcher<?> mockObjectMatcher)

### ignoring

    <T> T ignoring(T mockObject)

### ignoring

    MethodClause ignoring(Matcher<?> mockObjectMatcher)

### never

    <T> T never(T mockObject)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD