@Test(expected = ExprEvalException.class)
public void testExtractObjectArguments_3args_pos2_fail() {

    Node predicate = NodeFactory.createURI(SpatialExtension.NORTH_PROP);
    float lat = 0;
    float lon = 1;
    int limit = 10;
    Literal geometry = ConvertLatLon.toLiteral(lat, lon);
    List<Node> objectNodes = Arrays.asList(NodeValue.makeFloat(lat).asNode(), NodeValue.makeFloat(lon).asNode(), NodeValue.makeString("10").asNode());
    PropFuncArg object = new PropFuncArg(objectNodes);
    GeometryWrapper geometryWrapper = GeometryWrapper.extract(geometry);
    NorthPF instance = new NorthPF();
    SearchEnvelope searchEnvelope = instance.buildSearchEnvelope(geometryWrapper, SpatialIndexTestData.WGS_84_SRS_INFO);
    SpatialArguments expResult = new SpatialArguments(limit, geometryWrapper, searchEnvelope);
    SpatialArguments result = instance.extractObjectArguments(predicate, object, SpatialIndexTestData.WGS_84_SRS_INFO);
    assertEquals(expResult, result);
}