use of org.kie.workbench.common.dmn.client.commands.expressions.types.function.UpdateParameterTypeRefCommand in project kie-wb-common by kiegroup.
the class FunctionGridTest method testUpdateParameterTypeRef.
@Test
public void testUpdateParameterTypeRef() {
setupGrid(0);
grid.updateParameterTypeRef(parameter, new QName(QName.NULL_NS_URI, BuiltInType.DATE.getName()));
verify(sessionCommandManager).execute(eq(canvasHandler), updateParameterTypeRefCommandCaptor.capture());
final UpdateParameterTypeRefCommand updateParameterTypeRefCommand = updateParameterTypeRefCommandCaptor.getValue();
updateParameterTypeRefCommand.execute(canvasHandler);
verify(gridLayer).batch();
}
Aggregations