@Test
public void getTextWhenNoneIsDisplayedReturnsEmptyString() throws Exception {

    Connection conn = showDialog(TITLE).get();
    String text = conn.getText();
    assertNotNull(text);
    assertTrue(text.length() == 0);
}