### Question:
OpenAnalysisJobAsTemplateDialog extends AbstractDialog { @Override protected String getBannerTitle() { return "Open as template"; } 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 testGetBannerTitle() throws Exception { if (!GraphicsEnvironment.isHeadless()) { assertEquals("Open as template", getDialog().getBannerTitle()); } }