@Test
public void testGetErrorDialogDialog() {

    if (GraphicsEnvironment.isHeadless()) {
        LOG.fine("cannot run - headless environment");
        return;
    }
    assertNotNull(ui.getErrorDialog(new JDialog()));
}