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