@Test
public void itDeserializesJSON() throws Exception {
final String json = "{\"id\":\"mrpeepers\",\"password\":\"hoohah\"}";
final ObjectMapper mapper = new ObjectMapper();
final CreateUserRepresentation rep = mapper.readValue(json, CreateUserRepresentation.class);
assertThat(rep.getId()).isEqualTo("mrpeepers");
assertThat(rep.getPassword()).isEqualTo("hoohah".toCharArray());
}