Example #1
0
 function testValues()
 {
     $aclPlugin = new Plugin();
     $this->assertEquals('acl', $aclPlugin->getPluginName());
     $this->assertEquals(['access-control', 'calendarserver-principal-property-search'], $aclPlugin->getFeatures());
     $this->assertEquals(['{DAV:}expand-property', '{DAV:}principal-match', '{DAV:}principal-property-search', '{DAV:}principal-search-property-set'], $aclPlugin->getSupportedReportSet(''));
     $this->assertEquals(['ACL'], $aclPlugin->getMethods(''));
     $this->assertEquals('acl', $aclPlugin->getPluginInfo()['name']);
 }