public function testIsFieldGrantedNoAces() { $collection = new \PropelObjectCollection(); $collection->setModel('Propel\\Bundle\\PropelAclBundle\\Model\\Acl\\Entry'); $acl = new Acl($collection, $this->getAclObjectIdentity(), new PermissionGrantingStrategy()); $this->setExpectedException('Symfony\\Component\\Security\\Acl\\Exception\\NoAceFoundException'); $acl->isFieldGranted('name', array(64), array($this->getRoleSecurityIdentity())); }