}
}
@Test
public void getUserMustReturnUser() {
User expected = getUserRepository().createUser("testuser", "Test User");
UserRepresentation actual = usersResource.path("testuser").get(UserRepresentation.class);
assertEquals(expected.getUsername(), actual.getUsername());
assertEquals(expected.getRealname(), actual.getRealname());
}