public function testConstructorEmptyCollection() { $collection = new \PropelObjectCollection(); $collection->setModel('Propel\\Bundle\\PropelAclBundle\\Model\\Acl\\Entry'); $aclObj = $this->getAclObjectIdentity(); $acl = new Acl($collection, $aclObj, new PermissionGrantingStrategy()); $this->assertEmpty($acl->getClassAces()); $this->assertEmpty($acl->getObjectAces()); $this->assertEmpty($acl->getFields()); $this->assertNull($acl->getParentAcl()); $this->assertSame($aclObj, $acl->getObjectIdentity()); $this->assertTrue($acl->isEntriesInheriting()); }