@Test
public void testCreate_WithWizard() {

    final String fileName = "fileName";
    final Package pkg = mock(Package.class);
    final Path resourcesPath = PathFactory.newPath("resources",
                                                   "default://project/src/main/resources");
    when(pkg.getPackageMainResourcesPath()).thenReturn(resourcesPath);
    when(options.isUsingWizard()).thenReturn(true);
    when(options.getTableFormat()).thenReturn(TableFormat.EXTENDED_ENTRY);
    when(options.getHitPolicy()).thenReturn(GuidedDecisionTable52.HitPolicy.FIRST_HIT);
    handler.create(pkg,
                   fileName,
                   newResourcePresenter);
    verify(wizardBean,
           times(1)).setContent(pathCaptor.capture(),
                                fileNameCaptor.capture(),
                                eq(TableFormat.EXTENDED_ENTRY),
                                eq(GuidedDecisionTable52.HitPolicy.FIRST_HIT),
                                any(AsyncPackageDataModelOracle.class),
                                any(NewGuidedDecisionTableWizard.GuidedDecisionTableWizardHandler.class));
}