function testNextSecond() { $this->mockcal->expectOnce('nextSecond', array('int')); $Decorator = new Calendar_Decorator($this->mockcal); $this->assertEqual(46, $Decorator->nextSecond()); }