@Test
public void testPointWithPoly() {

  final SimpleFeature feature1 = createFeature(factory.createPoint(new Coordinate(0, 0)));
  final SimpleFeature feature2 =
      createFeature(
          factory.createPolygon(
              new Coordinate[] {
                  new Coordinate(0.001, 0.001),
                  new Coordinate(0.001, 0.002),
                  new Coordinate(0.002, 0.002),
                  new Coordinate(0.001, 0.001)}));
  testBounds(functionUnderTest.measure(feature1, feature2), 100, 200);
}