Example #1
0
 public function testIsSidLoadedInvalid()
 {
     $collection = new \PropelObjectCollection();
     $collection->setModel('Propel\\PropelBundle\\Model\\Acl\\Entry');
     $aclObj = $this->getAclObjectIdentity();
     $acl = new Acl($collection, $aclObj, new PermissionGrantingStrategy());
     $this->setExpectedException('InvalidArgumentException');
     $acl->isSidLoaded('foo');
 }