@Test
  public void TestMultiPointCentroid() throws Exception {
    final ST_Centroid stCtr = new ST_Centroid();
    final ST_MultiPoint stMp = new ST_MultiPoint();
    BytesWritable bwGeom = stMp.evaluate(new Text("multipoint ((0 0), (1 1), (1 -1), (6 0))"));
    BytesWritable bwCentroid = stCtr.evaluate(bwGeom);
    validatePoint(new Point(2, 0), bwCentroid);
  }
Validates the centroid geometry writable.

@param point
           the represented point location.
@param geometryAsWritable
           the geometry represented as {@link BytesWritable}.
ql/src/test/org/apache/hadoop/hive/ql/udf/esri/TestStCentroid.java