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

    GenericSpatialBoxPropertyFunction instance = new WithinBoxPF();
    Node predicate = NodeFactory.createURI(SpatialExtension.WITHIN_BOX_PROP);
    //Geometry and Envelope parameters
    float latMin = 0;
    float lonMin = 1;
    float latMax = 2;
    float lonMax = 3;
    int limit = 10;
    List<Node> objectNodes = Arrays.asList(NodeValue.makeFloat(latMin).asNode(), NodeValue.makeFloat(lonMin).asNode(), NodeValue.makeFloat(latMax).asNode(), NodeValue.makeString("e").asNode(), NodeValue.makeInteger(limit).asNode());
    PropFuncArg object = new PropFuncArg(objectNodes);
    //Function arguments
    Literal geometry = ConvertLatLonBox.toLiteral(latMin, lonMin, latMax, lonMax);
    GeometryWrapper geometryWrapper = GeometryWrapper.extract(geometry);
    SearchEnvelope searchEnvelope = SearchEnvelope.build(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);
}