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