### Question:
PolarOrbitingPolygon { List<List<Point>> getRings() { return rings; } PolarOrbitingPolygon(int id, long time, Geometry geometry); int getId(); long getTime(); boolean isPointInPolygon(double sampleLat, double sampleLon);  }### Answer:
@Test public void testConstructor() { final Geometry geometry = new Polygon( new LinearRing[]{new LinearRing(PolarOrbitingPolygonTestData.TEST_POLYGON)}); final PolarOrbitingPolygon polygon = new PolarOrbitingPolygon(1, System.currentTimeMillis(), geometry); assertEquals("number of rings", 2, polygon.getRings().size()); assertEquals("number of points in first ring", 16, polygon.getRings().get(0).size()); assertEquals("number of points in second ring", 8, polygon.getRings().get(1).size()); assertEquals("lat of first point of first ring", 38.4, polygon.getRings().get(0).get(0).getLat(), 1.0e-8); }