DefaultStringPatchMapping extends PatchMapping { @Override public String getPath() { return "/" + name; } DefaultStringPatchMapping(String name); @Override String getPath(); @Override PatchOperation convertOperation(Road road, PatchOperation modelOperation);  }
@Test public void checkPath() throws Exception { assertThat(mapping.getPath(), is("/foo")); }