function testPrevHour() { $this->mockcal->expectOnce('prevHour', array('int')); $Decorator = new Calendar_Decorator($this->mockcal); $this->assertEqual(12, $Decorator->prevHour()); }