@Test
public void shouldReturnResultsInOrder() {

    printTest("shouldReturnResultsInOrder()");
    { // oracle
        final String ddl = getFileContent(DDL_TEST_FILE_PATH + "dialect/oracle/oracle_test_statements_3.ddl");
        final List<ParsingResult> results = this.parsers.parseUsingAll(ddl);
        assertThat(results.size(), is(DdlParsers.BUILTIN_PARSERS.size()));
        assertThat(results.get(0).getParserId(), is(OracleDdlParser.ID)); // first element should be Oracle result
    }
    { // derby
        final String ddl = getFileContent(DDL_TEST_FILE_PATH + "dialect/derby/derby_test_statements.ddl");
        final List<ParsingResult> results = this.parsers.parseUsingAll(ddl);
        assertThat(results.size(), is(DdlParsers.BUILTIN_PARSERS.size()));
        assertThat(results.get(0).getParserId(), is(DerbyDdlParser.ID)); // first element should be Teiid result
    }
}