@Test
public void testEmptryLineString() {

  GeometryOperator.Context context = new GeometryOperator.Context();
  final Geometry emptyGeo = GEOMETRY_FACTORY.createLineString((Coordinate[]) null);
  Geometry result = simplifyGeometryFunction.apply(emptyGeo, context);
  assertThat(result, is(emptyGeo));
}