### Question:
OsmChangeResource { public OsmChange getOsmChange(String url) { ResponseEntity<OsmChange> entity = restOperations.getForEntity(url, OsmChange.class); return entity.getBody(); } @Autowired  OsmChangeResource(RestOperations restOperations); int getOsmState(Granularity granularity); OsmChange getOsmChange(String url);  }### Answer:
@Test public void itShouldGetOsmChange() throws Exception { RestTemplate restTemplate = new RestTemplate(); String url = "http: TestUtils.prepareRestTemplateForOsmChange(restTemplate, url, "test.osc"); OsmChange osmChange = new OsmChangeResource(restTemplate).getOsmChange(url); assertNotNull(osmChange); assertEquals("0.6", osmChange.getVersion()); }