@Test
public void testWritePolygonEmpty() {

    Geometry geometry = GEOMETRY_FACTORY.createPolygon();
    GeometryWrapper geometryWrapper = new GeometryWrapper(geometry, SRS_URI.WGS84_CRS, GMLDatatype.URI, new DimensionInfo(4, 3, 0));
    String result = GMLWriter.write(geometryWrapper);
    String expResult = "<gml:Polygon xmlns:gml=\"http://www.opengis.net/ont/gml\" srsName=\"http://www.opengis.net/def/crs/EPSG/0/4326\" />";
    assertEquals(expResult, result);
}