@Test
    public void testParseInputStream() {
        try (InputStream testDdlIS = getClass().getResourceAsStream("test.ddl")) {
            DdlParser parser = new DdlParser();
            List<String> statements = parser.parse(testDdlIS);
            StringBuilder builder = new StringBuilder();
            for (String statement : statements) {
                builder.append(statement).append("\n").append("---").append("\n");
            }
            Assert.assertEquals(EXPECTED, builder.toString());
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
Test method for {@link io.apiman.common.util.ddl.DdlParser#parse(java.io.InputStream)}.
common/util/src/test/java/io/apiman/common/util/ddl/DdlParserTest.java