function testPrevDay() { $this->mockcal->expectOnce('prevDay', array('int')); $Decorator = new Calendar_Decorator($this->mockcal); $this->assertEqual(14, $Decorator->prevDay()); }