public function testIsPublic() { $acl = new ACL(); $this->assertFalse($acl->isPublic()); $acl->allowListings(); $acl->addReferrer(ACL::READ, '*'); $this->assertTrue($acl->isPublic()); $acl->addAccount(ACL::WRITE, 'foo', 'bar'); $this->assertTrue($acl->isPublic()); $acl = ACL::makePublic(); $this->assertTrue($acl->isPublic()); }