class Mocha::Expectation
def at_least(minimum_number_of_times)
- Example: Expected method must be called at least twice. -
Returns:
-
(Expectation)
- the same expectation, thereby allowing invocations of other {Expectation} methods to be chained.
Parameters:
-
minimum_number_of_times
(Integer
) -- minimum number of expected invocations.
def at_least(minimum_number_of_times) @cardinality.at_least(minimum_number_of_times) self end