@Test
public void connectionObjectIsReturned() throws Exception {

    Connection conn = null;
    try {
        conn = showDialog(TITLE).get(DISPLAY_TIMEOUT, TimeUnit.MILLISECONDS);
    } catch (TimeoutException ex) {
        fail("connection object not returned");
    }
    
    assertNotNull(conn);
}