@Test
public void checkWizardHandlerDestroyWizard() {

    helper.createNewGuidedDecisionTable(contextPath,
                                        baseFileName,
                                        tableFormat,
                                        hitPolicy,
                                        view,
                                        onSaveSuccessCallback);
    verify(wizardBean,
           times(1)).setContent(eq(contextPath),
                                eq(baseFileName),
                                eq(tableFormat),
                                eq(hitPolicy),
                                eq(oracle),
                                wizardHandlerCaptor.capture());
    final GuidedDecisionTableWizardHandler wizardHandler = wizardHandlerCaptor.getValue();
    assertNotNull(wizardHandler);
    wizardHandler.destroyWizard();
    verify(beanManager,
           times(1)).destroyBean(wizardBean);
}