@Test
public void testGetUser() throws Exception {

	UserSCIM user = prepareExpectedResult();
	String expectedJson = mapper.writeValueAsString(user);
	Response expectedResponse = Response.ok(expectedJson).build();
	Response result = controller.getUser(user.getId().toString());
	if (result.getStatus() != 200) {
		fail();
	}
	assertEquals("expected user should equal with result obtained from SCIM REST API",
			expectedResponse.getEntity(), result.getEntity());
}