use of org.drools.workbench.screens.guided.dtable.client.wizard.column.plugins.commons.ActionWorkItemInsertWrapper in project drools-wb by kiegroup.
the class ActionWorkItemSetFieldPluginTest method testNewActionWrapperWhenColumnIsAnActionWorkItemInsertFactCol52.
@Test
public void testNewActionWrapperWhenColumnIsAnActionWorkItemInsertFactCol52() throws Exception {
when(model.getTableFormat()).thenReturn(GuidedDecisionTable52.TableFormat.EXTENDED_ENTRY);
when(presenter.getModel()).thenReturn(model);
final ActionWorkItemWrapper wrapper = plugin.newActionWorkItemWrapper(mock(ActionWorkItemInsertFactCol52.class));
assertTrue(wrapper instanceof ActionWorkItemInsertWrapper);
}
Aggregations