    @Test
    public void shouldParseAcceptScript() throws Exception {


        String script =
                "# tcp.client.accept-then-close\n" +
                "accept 'tcp://localhost:7788'\n" +
                "accepted\n" +
                "connected\n" +
                "close\n" +
                "closed\n";

        ScriptParserImpl parser = new ScriptParserImpl();
        AstScriptNode actual = parser.parseWithStrategy(script, SCRIPT);

        AstScriptNode expected = new AstScriptNodeBuilder().addAcceptStream()
                .setLocation(new AstLiteralURIValue(URI.create("tcp://localhost:7788"))).done().addAcceptedStream()
                .addConnectedEvent().done().addCloseCommand().done().addClosedEvent().done().done().done();

        assertEquals(expected, actual);
    }