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