eZ\Publish\Core\Repository\Tests\Service\Integration\RoleBase::testUnassignRoleFromUserGroupThrowsInvalidArgumentException PHP Method

testUnassignRoleFromUserGroupThrowsInvalidArgumentException() public method

Test unassigning role from user group which is not already assigned to the group.
    public function testUnassignRoleFromUserGroupThrowsInvalidArgumentException()
    {
        $roleService = $this->repository->getRoleService();
        $role = $roleService->loadRole(1);
        $userGroup = $this->repository->getUserService()->loadUserGroup(12);
        $roleService->unassignRoleFromUserGroup($role, $userGroup);
    }