@Test
public void testGetIdentityAttributes() {

    final Set<String> attributes = client.getIdentityAttributes("user");
    assertNotNull(attributes);
    assertEquals(Identity.getSupportedAttributes(User.class), attributes);
}