@Test
public void appendTextWithFormattedNewlines() throws Exception {

    final String text = getConcatenatedText(String.format("%n"));
    
    Connection conn = showDialog(TITLE).get();
    conn.append(text);
    windowFixture.robot.waitForIdle();
    String displayedText = windowFixture.textBox().text();
    
    assertEquals(text, displayedText);
}