ShpXmlFileReader implements FileReader { public Metadata parse() { return parseMetadata(dom.getRootElement()); } ShpXmlFileReader(ShpFiles shapefileFiles); Metadata parse(); String id();  }
@Test public void testBBox() { Metadata meta = reader.parse(); assertNotNull("meta", meta); IdInfo idInfo = meta.getIdinfo(); assertNotNull("idInfo", idInfo); Envelope bounding = idInfo.getBounding(); assertNotNull(bounding); assertEquals(-180.0, bounding.getMinX(), 0.00001); assertEquals(180.0, bounding.getMaxX(), 0.00001); assertEquals(-90.0, bounding.getMinY(), 0.00001); assertEquals(90.0, bounding.getMaxY(), 0.00001); }