@Test
public void testClipPoly3DOnBorder() throws Exception {

    SimpleFeatureCollection features = fsMeters.getFeatures();
    ClipProcess cp = new ClipProcess();
    SimpleFeatureCollection result = cp.execute(features, new WKTReader().read("POLYGON((0 0, 0 10000, 10000 10000, 10000 0, 0 0))"), true);
    assertEquals(2, result.size());
    assertSquaresMetersIdentical(result);
}