function testIsSelected() { $this->mockcal->setReturnValue('isSelected', true); $Decorator = new Calendar_Decorator($this->mockcal); $this->assertTrue($Decorator->isSelected()); }