@Test
public void testGetErrorFrameContentPane() {

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