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