@Test
public void testGetIdentityTypes() {

    final Map<String, Class<? extends IdentityDto>> map = client.getIdentityTypes();
    final Class<? extends IdentityDto> userType = map.get("user");
    assertNotNull(userType);
    assertEquals(1, map.size());
    assertEquals(UserDto.class, userType);
}