public function testGetWithSpecifiedEntity() { $accessControl = ['entity' => 'allAuthenticatedUsers']; $this->connection->getAcl(Argument::any())->willReturn($accessControl); $acl = new Acl($this->connection->reveal(), 'bucketAccessControls', ['bucket' => 'bucket']); $this->assertEquals($accessControl, $acl->get(['entity' => 'allAuthenticatedUsers'])); }