@Test
public void testGetIdentityTypes() {

    final Map<String, Class> expected = Maps.newHashMap();
    expected.put("user", UserDto.class);
    expected.put("device", DeviceDto.class);
    final Map<String, Class> actual =
        get(METADATA_IDENTITY_TYPES_ENDPOINT)
            .assertStatus(Status.OK)
            .result(map(String.class, Class.class));
    assertEquals(expected, actual);
}