class Mocha::Expectation
def never
- Example: Expected method must never be called. -
Returns:
-
(Expectation)- the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
def never @cardinality.exactly(0) self end