public void testReadOsm() throws IOException, IllegalDataException {
for (String file : new String[]{"osm.jos", "osm.joz"}) {
List<Layer> layers = testRead(file);
assertTrue(layers.size() == 1);
assertTrue(layers.get(0) instanceof OsmDataLayer);
OsmDataLayer osm = (OsmDataLayer) layers.get(0);
assertEquals(osm.getName(), "OSM layer name");
}
}