testParser(map);
}
@Test
public void testStreamedXMLParser() throws Exception {
StreamedFileBasedOpenStreetMapProviderImpl pr = new StreamedFileBasedOpenStreetMapProviderImpl();
OSMMap map = new OSMMap();
pr.setPath(new File(URLDecoder.decode(getClass().getResource("map.osm.gz").getPath(), "UTF-8")));
pr.readOSM(map);
testParser(map);
}