@Test
public void add_converts_to_replace() throws Exception {

  PatchOperation operation = mapping.convertOperation(road, PatchOperation.add("/metadata", emptyMap()));
  assertThat(operation, is(PatchOperation.replace("/metadata", emptyMap())));
}