### Question:
OpenStreetMapHarvesterImpl extends AbstractHarvesterImpl implements Harvester { @Override public void harvest() { harvest(MCA_REGISTRY.OSMGeoSource.getURI(), new OpenStreetMapResponseHandlerImpl()); } OpenStreetMapHarvesterImpl(DataManager manager); @Override void harvest();  }### Answer:
@Test public void testHarvest() throws IOException, ParseException { StoreWrapper beforeWrapper = getStoreWrapper(); Model registry = SDBFactory.connectDefaultModel(beforeWrapper.getStore()); assertTrue("There should be a harvest source in the registry (default graph)", registry.contains(registry.getResource(uri), RDF.type, MCA_REGISTRY.OSMGeoSource)); Model auditModel = SDBFactory.connectNamedModel(beforeWrapper.getStore(), Common.AUDIT_GRAPH_URI); assertTrue(auditModel.getResource(uri).hasProperty(DC.date)); assertEquals(date, auditModel.getResource(uri).getProperty(DC.date).getLiteral() .getLexicalForm()); beforeWrapper.close(); Harvester harvester = new OpenStreetMapHarvesterImpl(dataManager); harvester.harvest(); StoreWrapper afterWrapper = getStoreWrapper(); Model harvestedData = SDBFactory.connectNamedModel(afterWrapper.getStore(), uri); assertFalse("The model shouldn't be empty", harvestedData.isEmpty()); assertTrue(harvestedData.contains(null, RDF.type, MCA_GEO.Amenity)); assertTrue(harvestedData.contains(null, RDF.type, MCA_GEO.Shop)); auditModel = SDBFactory.connectNamedModel(afterWrapper.getStore(), Common.AUDIT_GRAPH_URI); String newDate = auditModel.getResource(uri).getProperty(DC.date).getLiteral() .getLexicalForm(); assertFalse(date.equals(newDate)); afterWrapper.close(); }