@Test
public void shouldParseUnterminatedOracleFile() {

    printTest("shouldParseUnterminatedOracleFile()");
    String content = getFileContent(DDL_TEST_FILE_PATH + "GFM_Physical.ddl");
    rootNode = parsers.parse(content, null);
    assertEquals("ORACLE", rootNode.getProperty(StandardDdlLexicon.PARSER_ID));
    // printNodeChildren(rootNode);
    setPrintToConsole(true);
    final AstNodeFactory nodeFactory = new AstNodeFactory();
    List<AstNode> problems = nodeFactory.getChildrenForType(rootNode, TYPE_PROBLEM);
    for (AstNode problem : problems) {
        printTest(problem.toString());
    }
    assertThat(rootNode.getChildCount(), is(123));
    List<AstNode> schemaNodes = nodeFactory.getChildrenForType(rootNode, TYPE_CREATE_SCHEMA_STATEMENT);
    assertThat(schemaNodes.size(), is(1));
    assertThat(schemaNodes.get(0).getChildCount(), is(53));
    assertThat(schemaNodes.get(0).getName(), is("GLOBALFORCEMGMT"));
    List<AstNode> alterNodes = nodeFactory.getChildrenForType(rootNode, TYPE_ALTER_TABLE_STATEMENT);
    assertThat(alterNodes.size(), is(120));
    List<AstNode> dropSchemaNodes = nodeFactory.getChildrenForType(rootNode, TYPE_DROP_SCHEMA_STATEMENT);
    assertThat(dropSchemaNodes.size(), is(1));
    List<AstNode> unknownNodes = nodeFactory.getChildrenForType(rootNode, TYPE_UNKNOWN_STATEMENT);
    assertThat(unknownNodes.size(), is(1));
}