use of org.kie.workbench.common.stunner.core.graph.command.impl.SetChildrenCommand in project kie-wb-common by kiegroup.
the class ConnectorParentsMatchLevel1Tests method testMoveEndNodeIntoParentNode.
@Test
@SuppressWarnings("unchecked")
public void testMoveEndNodeIntoParentNode() {
SetChildrenCommand setChildren = new SetChildrenCommand(graph.parentNode, graph.endNode);
ContextualGraphCommandExecutionContext executionContext = createExecutionContext();
CommandResult<RuleViolation> result = setChildren.allow(executionContext);
assertSuccessfullResult(result);
}
Aggregations