RoleService roleService2 = setupCredentials(roleService, RoleService.class, "rossini", ADMIN_PWD);
SyncopeClientException exception = null;
try {
roleService2.selfRead(3L);
fail();
} catch (SyncopeClientCompositeErrorException e) {
exception = e.getException(SyncopeClientExceptionType.UnauthorizedRole);
}
assertNotNull(exception);