@Test
public void testEmptySubpolygon() {

  Geometry geometry = GEOMETRY_FACTORY.createMultiPolygon(null);
  Geometry actual = convertSubpolygonsToEnvelopes.apply(geometry, new GeometryOperator.Context());
  assertThat(actual.isEmpty(), is(true));
}