@Test
public void testSave() throws Exception {

    // Arrange
    final String id = "id";
    final ScimUser scimUser = new ScimUser();
    final ScimUser scimUserResponse = new ScimUser();
    scimUserResponse.setId(id);
    when(restTemplate.postForObject(usersEndpoint, scimUser, ScimUser.class)).thenReturn(scimUserResponse);
    // Act
    final ScimUser response = sut.save(scimUser);
    // Assert
    assertEquals(scimUserResponse, response);
}