eZ\Publish\Core\Persistence\Legacy\Tests\User\Role\Gateway\DoctrineDatabaseTest::testLoadRoleAssignmentsByGroupId PHP Method

testLoadRoleAssignmentsByGroupId() public method

    public function testLoadRoleAssignmentsByGroupId()
    {
        $gateway = $this->getDatabaseGateway();
        $this->assertEquals([['contentobject_id' => '11', 'id' => '28', 'limit_identifier' => '', 'limit_value' => '', 'role_id' => '1'], ['contentobject_id' => '11', 'id' => '34', 'limit_identifier' => '', 'limit_value' => '', 'role_id' => '5'], ['contentobject_id' => '11', 'id' => '40', 'limit_identifier' => 'Section', 'limit_value' => '3', 'role_id' => '4']], $gateway->loadRoleAssignmentsByGroupId(11));
    }