@Test
public void add_converts_to_replace() throws Exception {

  PatchOperation operation = mapping.convertOperation(road, PatchOperation.add("/partitionPath", "$.foo"));
  assertThat(operation, is(PatchOperation.replace("/partitionPath", "$.foo")));
}