### Question:
CloneNodeCommand extends AbstractCanvasGraphCommand { @Override @SuppressWarnings("unchecked") protected Command<GraphCommandExecutionContext, RuleViolation> newGraphCommand(final AbstractCanvasHandler context) { return new org.kie.workbench.common.stunner.core.graph.command.impl.CloneNodeCommand(candidate, parentUuid, getClonePosition(), cloneNodeCallback(context), childrenTraverseProcessor); } @SuppressWarnings("unchecked")  CloneNodeCommand(final Node candidate, final String parentUuid, final Point2D cloneLocation, final Consumer<Node> cloneNodeCommandCallback, final ManagedInstance<ChildrenTraverseProcessor> childrenTraverseProcessor); CloneCanvasNodeCommand getCloneCanvasNodeCommand(Node parent, Node clone, String shapeId); ManagedInstance<ChildrenTraverseProcessor> getChildrenTraverseProcessor(); Node getCandidate(); @Override String toString();  }### Answer:
@Test public void testNewGraphCommand() { Command<GraphCommandExecutionContext, RuleViolation> graphCommand = cloneNodeCommand.newGraphCommand(canvasHandler); assertTrue(graphCommand instanceof org.kie.workbench.common.stunner.core.graph.command.impl.CloneNodeCommand); }