function testThisSecond() { $this->mockcal->expectOnce('thisSecond', array('int')); $Decorator = new Calendar_Decorator($this->mockcal); $this->assertEqual(45, $Decorator->thisSecond()); }