assertEquals(200, response.getStatus());
String entity = response.getEntity();
System.out.println(entity);
RepresentationReader reader = new RepresentationReader(entity);
assertEquals(user.username(), reader.stringValue("username"));
assertTrue(reader.booleanValue("enabled"));
}
public void testGetNonExistingUser() throws Exception {
User user = this.userAggregate();
DomainRegistry.userRepository().add(user);