@Test
public void testCoordinateDimensionPolygonLite2D() {

    Geometry geom = liteGF.createPolygon(liteGF.createLinearRing(liteCSF.create(new double[] {
            1, 1, 2, 1, 2, 2, 1, 2, 1, 1 }, 2)), null);
    assertEquals(2, CoordinateSequences.coordinateDimension(geom));
}