    @Test
    public void appendDefaultSeparatorLine() throws Exception {

        Connection conn = showDialog(TITLE, TEXT[0] + "\n").get();

        final int N = 10;
        conn.appendSeparatorLine(N);

        char[] chars = new char[N];
        Arrays.fill(chars, JTextReporter.DEFAULT_SEPARATOR_CHAR);
        String expected = String.format("%s%n%s%n", TEXT[0], String.valueOf(chars));

        String displayedText = windowFixture.textBox().text();
        assertEquals(expected, displayedText);
    }