### Question:
Oblongs { public static Oblong create(double minX, double minY, double width, double height, CoordinateReferenceSystem crs) { return new OblongImpl(minX, minY, width, height, crs); }  static Oblong create(double minX, double minY, double width, double height,
            CoordinateReferenceSystem crs); static SimpleFeatureSource createGrid(ReferencedEnvelope bounds,
            double width, double height, GridFeatureBuilder gridBuilder); static SimpleFeatureSource createGrid(
            ReferencedEnvelope bounds,
            double width, double height, 
            double vertexSpacing, GridFeatureBuilder gridFeatureBuilder);  }### Answer:
@Test public void create() { GridElement oblong = Oblongs.create(1, 2, 3, 4, null); assertNotNull(oblong); assertEnvelope(new ReferencedEnvelope(1, 4, 2, 6, null), oblong.getBounds()); }
@Test public void create() { PolygonElement oblong = Oblongs.create(1, 2, 3, 4, null); assertNotNull(oblong); assertEnvelope(new ReferencedEnvelope(1, 4, 2, 6, null), oblong.getBounds()); }
@Test(expected = IllegalArgumentException.class) public void badWidth() { Oblongs.create(1, 2, -1, 4, null); }
@Test(expected = IllegalArgumentException.class) public void badHeight() { Oblongs.create(1, 2, 3, -1, null); }