@Test
public void testQueryRewrite_geometry_feature_disabled() {

    GeoSPARQLConfig.setup(IndexOption.MEMORY, Boolean.FALSE);
    Graph graph = model.getGraph();
    Node subject = GEOMETRY_A.asNode();
    Node predicate = Geo.SF_CONTAINS_NODE;
    Node object = FEATURE_B.asNode();
    GenericPropertyFunction instance = new SfContainsPF();
    QueryRewriteIndex queryRewriteIndex = QueryRewriteIndex.createDefault();
    Boolean expResult = false;
    Boolean result = instance.queryRewrite(graph, subject, predicate, object, queryRewriteIndex);
    GeoSPARQLConfig.setup(IndexOption.MEMORY, Boolean.TRUE);
    assertEquals(expResult, result);
}