function testPrevSecond() { $this->mockcal->expectOnce('prevSecond', array('int')); $Decorator = new Calendar_Decorator($this->mockcal); $this->assertEqual(44, $Decorator->prevSecond()); }