NewGuidedDecisionTableColumnWizard extends AbstractWizard { @Override public void close() { popoverUtils.destroyPopovers(); onCloseCallback.execute(); super.close(); } @Inject  NewGuidedDecisionTableColumnWizard(final WizardView view,
                                              final SummaryPage summaryPage,
                                              final TranslationService translationService,
                                              final DecisionTablePopoverUtils popoverUtils); @Override String getTitle(); void setTitle(final String title); @Override List<WizardPage> getPages(); void setPages(final List<WizardPage> pages); @Override Widget getPageWidget(final int pageNumber); @Override int getPreferredHeight(); @Override int getPreferredWidth(); @Override void isComplete(final Callback<Boolean> callback); @Override void start(); void start(final DecisionTableColumnPlugin plugin); @Override void complete(); @Override void close(); void init(final GuidedDecisionTableView.Presenter presenter); void setFinishCommand(final Supplier<Boolean> finishCommand); void setOnCloseCallback(final Command onCloseCallback); GuidedDecisionTableView.Presenter getPresenter(); void showGenericVetoError(); void showPatternInUseError();  }
@Test public void testClosureDestroysPopovers() { wizard.close(); verify(popoverUtils).destroyPopovers(); }