@Test
public void testApply() throws ParseException {

  Geometry originalGeometry = wktReader.read(REALLY_LONG_LINESTRING);
  Geometry transformedGeometry =
      simplifyGeometryFunction.apply(originalGeometry, new GeometryOperator.Context());
  assertThat(
      transformedGeometry.getCoordinates().length,
      Matchers.lessThan(originalGeometry.getCoordinates().length));
}