### Question:
OpenAnalysisJobAsTemplateDialog extends AbstractDialog { public static LoadingIcon createLoadingIcon() { final LoadingIcon loadingIcon = new LoadingIcon(); final int formElementHeight = 32; final Dimension size = new Dimension(formElementHeight, formElementHeight); loadingIcon.setPreferredSize(size); loadingIcon.setBackground(Color.WHITE); loadingIcon.setOpaque(true); loadingIcon.setVisible(false); return loadingIcon; } OpenAnalysisJobAsTemplateDialog(final WindowContext windowContext,
            final DataCleanerConfiguration configuration, final FileObject file, final AnalysisJobMetadata metadata,
            final Provider<OpenAnalysisJobActionListener> openAnalysisJobActionListenerProvider); static LoadingIcon createLoadingIcon(); void refreshOpenButtonVisibility(); SourceColumnMapping getSourceColumnMapping(); @Override String getWindowTitle();  }### Answer:
@Test public void testCreateLoadingIcon() throws Exception { if (!GraphicsEnvironment.isHeadless()) { assertTrue(OpenAnalysisJobAsTemplateDialog.createLoadingIcon() instanceof LoadingIcon); } }