public function testMethodGetattributeaclThrowsException() { $folder = $this->getMock('Horde_Kolab_Storage_Folder'); $resource = new Horde_Kolab_FreeBusy_Resource_Kolab($folder); try { $resource->getAttributeAcl(); $this->fail('The resource did not fail!'); } catch (Horde_Kolab_FreeBusy_Exception $e) { $this->assertEquals('There is no generic definition for attribute ACL available!', $e->getMessage()); } }