public static Rectangle getExtent(OGCGeometry ogcGeometry)
    {
        return getExtent(ogcGeometry, 0.0);
    }
@Test
    public void testGetExtent()
    {
        assertGetExtent(
                "POINT (-23.4 12.2)",
                new Rectangle(-23.4, 12.2, -23.4, 12.2));
        assertGetExtent(
                "LINESTRING (-75.9375 23.6359, -75.9375 23.6364)",
                new Rectangle(-75.9375, 23.6359, -75.9375, 23.6364));
        assertGetExtent(
                "GEOMETRYCOLLECTION (" +
                        "  LINESTRING (-75.9375 23.6359, -75.9375 23.6364)," +
                        "  MULTIPOLYGON (((-75.9375 23.45520, -75.9371 23.4554, -75.9375 23.46023325, -75.9375 23.45520)))" +
                        ")",
                new Rectangle(-75.9375, 23.4552, -75.9371, 23.6364));
    }