@Test
public void testCheckSecondFilter() {

    //Property Function
    Node predicate = NodeFactory.createURI(SpatialExtension.NORTH_GEOM_PROP);
    //Geometry and Envelope parameters
    float lat = 0;
    float lon = 1;
    Literal targetGeometry = ConvertLatLon.toLiteral(lat, lon);
    List<Node> objectNodes = Arrays.asList(NodeValue.makeFloat(lat).asNode(), NodeValue.makeFloat(lon).asNode());
    PropFuncArg object = new PropFuncArg(objectNodes);
    GeometryWrapper targetGeometryWrapper = GeometryWrapper.extract(targetGeometry);
    NorthPF instance = new NorthPF();
    SpatialArguments spatialArgumemts = instance.extractObjectArguments(predicate, object, SpatialIndexTestData.WGS_84_SRS_INFO);
    boolean expResult = true;
    boolean result = instance.checkSecondFilter(spatialArgumemts, targetGeometryWrapper);
    assertEquals(expResult, result);
}