@Test
public void testEmptyGeometry() {

  Geometry geometry = mock(Geometry.class);
  when(geometry.isEmpty()).thenReturn(true);
  Geometry actual = nonEmptyGeometryOperator.apply(geometry, new GeometryOperator.Context());
  assertThat(actual, is(nullValue()));
}