public function testCanCreateGroupGrantee() { $grantee = new Grantee(Group::ALL_USERS); $this->assertEquals(Group::ALL_USERS, $grantee->getId()); $this->assertEquals(Group::ALL_USERS, $grantee->getGroupUri()); $this->assertNull($grantee->getDisplayName()); $this->assertFalse($grantee->isCanonicalUser()); $this->assertFalse($grantee->isAmazonCustomerByEmail()); $this->assertTrue($grantee->isGroup()); $this->assertEquals(GranteeType::GROUP, $grantee->getType()); }