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

testUnassignRoleFromUserThrowsInvalidArgumentException() public method

Test unassigning role from user which is not already assigned to the user.
    public function testUnassignRoleFromUserThrowsInvalidArgumentException()
    {
        $roleService = $this->repository->getRoleService();
        $role = $roleService->loadRole(2);
        $user = $this->repository->getUserService()->loadUser(14);
        $roleService->unassignRoleFromUser($role, $user);
    }