SimpleMock::expectMinimumCallCount PHP Method

expectMinimumCallCount() public method

Sets the number of times to call a method to prevent a failure on the tally.
public expectMinimumCallCount ( string $method, integer $count, string $message = '%s' )
$method string Method call to test.
$count integer Least number of times it should have been called.
$message string Overridden message.
    public function expectMinimumCallCount($method, $count, $message = '%s')
    {
        $this->dieOnNoMethod($method, 'set minimum call count');
        $message .= Mock::getExpectationLine();
        $this->expected_counts[strtolower($method)] = new MinimumCallCountExpectation($method, $count, $message);
    }