/** * @expectedException Sabre_DAV_Exception_MethodNotAllowed */ function testSetName() { $this->calendar->setName('hello'); }