GMLReader implements ParserReader { @Override public DimensionInfo getDimensionInfo() { return dimensionInfo; } protected  GMLReader(Element gmlElement); protected  GMLReader(Geometry geometry, int srsDimension, String srsURI); protected  GMLReader(Geometry geometry, int srsDimension); @Override Geometry getGeometry(); @Override String getSrsURI(); @Override CoordinateSequenceDimensions getDimensions(); @Override DimensionInfo getDimensionInfo(); static GMLReader extract(String gmlText); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testGetDimensionInfo0() { GMLReader instance = new GMLReader(GEOMETRY_FACTORY.createPoint(), 2); DimensionInfo expResult = new DimensionInfo(2, 2, 0); DimensionInfo result = instance.getDimensionInfo(); assertEquals(expResult, result); }
@Test public void testGetDimensionInfo2() { GMLReader instance = new GMLReader(GEOMETRY_FACTORY.createPoint(new CoordinateXY(11.0, 12.0)), 2); DimensionInfo expResult = new DimensionInfo(2, 2, 0); DimensionInfo result = instance.getDimensionInfo(); assertEquals(expResult, result); }
@Test public void testGetDimensionInfo3a() { GMLReader instance = new GMLReader(GEOMETRY_FACTORY.createPoint(new Coordinate(11.0, 12.0, 13.0)), 3); DimensionInfo expResult = new DimensionInfo(3, 3, 0); DimensionInfo result = instance.getDimensionInfo(); assertEquals(expResult, result); }
@Test public void testGetDimensionInfo4() { GMLReader instance = new GMLReader(GEOMETRY_FACTORY.createPoint(new CoordinateXYZM(11.0, 12.0, 13.0, 14.0)), 4); DimensionInfo expResult = new DimensionInfo(4, 3, 0); DimensionInfo result = instance.getDimensionInfo(); assertEquals(expResult, result); }