### Question:
ParsePolygon implements Parcelable { public List<ParseGeoPoint> getCoordinates() { return coordinates; } ParsePolygon(List<ParseGeoPoint> coords);  ParsePolygon(ParsePolygon polygon); protected  ParsePolygon(Parcel source);   ParsePolygon(Parcel source, ParseParcelDecoder decoder); void setCoordinates(List<ParseGeoPoint> coords); List<ParseGeoPoint> getCoordinates(); boolean containsPoint(ParseGeoPoint point); @Override boolean equals(Object obj); @Override String toString(); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); final static Creator<ParsePolygon> CREATOR; }### Answer:
@Test public void testConstructors() { List<ParseGeoPoint> arrayPoints = Arrays.asList( new ParseGeoPoint(0,0), new ParseGeoPoint(0,1), new ParseGeoPoint(1,1), new ParseGeoPoint(1,0) ); List<ParseGeoPoint> listPoints = new ArrayList<ParseGeoPoint>(); listPoints.add(new ParseGeoPoint(0,0)); listPoints.add(new ParseGeoPoint(0,1)); listPoints.add(new ParseGeoPoint(1,1)); listPoints.add(new ParseGeoPoint(1,0)); ParsePolygon polygonList = new ParsePolygon(listPoints); assertEquals(listPoints, polygonList.getCoordinates()); ParsePolygon polygonArray = new ParsePolygon(arrayPoints); assertEquals(arrayPoints, polygonArray.getCoordinates()); ParsePolygon copyList = new ParsePolygon(polygonList); assertEquals(polygonList.getCoordinates(), copyList.getCoordinates()); ParsePolygon copyArray = new ParsePolygon(polygonArray); assertEquals(polygonArray.getCoordinates(), copyArray.getCoordinates()); }