### Question:
CloneConnectorCommand extends AbstractCanvasGraphCommand { @Override protected Command<GraphCommandExecutionContext, RuleViolation> newGraphCommand(final AbstractCanvasHandler context) { return new org.kie.workbench.common.stunner.core.graph.command.impl.CloneConnectorCommand(candidate, sourceUUID, targetUUID, getCloneCallback()); } CloneConnectorCommand(final Edge candidate,
                                 final String sourceUUID,
                                 final String targetUUID,
                                 final String shapeSetId,
                                 final Consumer<Edge> callback); @Override String toString();  }### Answer:
@Test public void newGraphCommand() { Command<GraphCommandExecutionContext, RuleViolation> command = cloneConnectorCommand.newGraphCommand(context); assertTrue(command instanceof org.kie.workbench.common.stunner.core.graph.command.impl.CloneConnectorCommand); }