use of org.drools.workbench.screens.guided.dtable.client.widget.table.popovers.MockInstanceImpl in project drools-wb by kiegroup.
the class PluginHandlerTest method testEditWhenColumnIsALimitedEntryBRLActionColumn.
@Test
public void testEditWhenColumnIsALimitedEntryBRLActionColumn() {
final LimitedEntryBRLActionColumn originalColumn = mock(LimitedEntryBRLActionColumn.class);
final BRLActionColumnPlugin plugin = spy(new BRLActionColumnPlugin(ruleModellerPage, defaultValuesPage, new MockInstanceImpl<>(new ArrayList<>()), additionalInfoPage, event, translationService));
testEditActionColumn(plugin, brlActionColumnPlugin, originalColumn);
}
use of org.drools.workbench.screens.guided.dtable.client.widget.table.popovers.MockInstanceImpl in project drools-wb by kiegroup.
the class PluginHandlerTest method testEditWhenColumnIsABRLActionColumn.
@Test
public void testEditWhenColumnIsABRLActionColumn() {
final BRLActionColumn originalColumn = mock(BRLActionColumn.class);
final BRLActionColumnPlugin plugin = spy(new BRLActionColumnPlugin(ruleModellerPage, defaultValuesPage, new MockInstanceImpl<>(new ArrayList<>()), additionalInfoPage, event, translationService));
testEditActionColumn(plugin, brlActionColumnPlugin, originalColumn);
}
Aggregations