function testAtLeastOnceSatisfiedByTwoCalls() { $mock = new MockDummy(); $mock->expectAtLeastOnce('aMethod'); $mock->aMethod(); $mock->aMethod(); }
function testUnderAtLeastOnce() { $this->_test->expectOnce("assertTrue", array(false, '*')); $mock = new MockDummy($this->_test); $mock->expectAtLeastOnce("aMethod"); $mock->tally(); }