use of org.drools.workbench.models.guided.dtable.shared.model.ActionWorkItemSetFieldCol52 in project drools-wb by kiegroup.
the class DecisionTableColumnViewUtilsTest method testColumnManagementGroupTitleWorkItemSetFieldEmpty.
@Test
public void testColumnManagementGroupTitleWorkItemSetFieldEmpty() throws Exception {
final ActionWorkItemSetFieldCol52 column = mock(ActionWorkItemSetFieldCol52.class);
doReturn(COLUMN_HEADER).when(column).getHeader();
assertEquals(COLUMN_HEADER, DecisionTableColumnViewUtils.getColumnManagementGroupTitle(column));
}
use of org.drools.workbench.models.guided.dtable.shared.model.ActionWorkItemSetFieldCol52 in project drools-wb by kiegroup.
the class DecisionTableColumnViewUtilsTest method testColumnManagementGroupTitleWorkItemSetField.
@Test
public void testColumnManagementGroupTitleWorkItemSetField() throws Exception {
final ActionWorkItemSetFieldCol52 column = mock(ActionWorkItemSetFieldCol52.class);
doReturn(APPLICANT_BOUND_NAME).when(column).getBoundName();
assertEquals("[" + APPLICANT_BOUND_NAME + "]", DecisionTableColumnViewUtils.getColumnManagementGroupTitle(column));
}
Aggregations