@Test
  public void testToDatePresetQueryFunctionWithQueryParameter() throws Exception {
    String oqlSource =
        "SELECT * FROM " + SEPARATOR + "Portfolios WHERE createDate >= to_date($1, 'MM/dd/yyyy')";
    OQLLexer lexer = new OQLLexer(new StringReader(oqlSource));
    OQLParser parser = new OQLParser(lexer);

    parser.queryProgram();
    assertThat(parser.getAST()).isNotNull();
  }
TODO: class created to fix GEODE-3938. Add more tests for other queries, parameters, etc.
geode-core/src/test/java/org/apache/geode/cache/query/internal/parse/OQLParserTest.java