use of org.kie.workbench.common.dmn.client.widgets.grid.columns.factory.TextAreaSingletonDOMElementFactory in project kie-wb-common by kiegroup.
the class LiteralExpressionGridTest method testBodyFactoryWhenNotNested.
@Test
public void testBodyFactoryWhenNotNested() {
setupGrid(0);
final TextAreaSingletonDOMElementFactory factory = grid.getBodyTextAreaFactory();
assertThat(factory.getHasNoValueCommand().apply(tupleWithoutValue)).isInstanceOf(DeleteCellValueCommand.class);
assertThat(factory.getHasValueCommand().apply(tupleWithValue)).isInstanceOf(SetCellValueCommand.class);
}
Aggregations