@Test
public void testGetErrorDialogContentPane() {

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