### Question:
DeleteConnectorCommand extends AbstractCanvasGraphCommand { @Override @SuppressWarnings("unchecked") protected Command<GraphCommandExecutionContext, RuleViolation> newGraphCommand(final AbstractCanvasHandler context) { return new org.kie.workbench.common.stunner.core.graph.command.impl.DeleteConnectorCommand(candidate); } DeleteConnectorCommand(final Edge candidate); @Override String toString();  }### Answer:
@Test public void testGetGraphCommand() { final org.kie.workbench.common.stunner.core.graph.command.impl.DeleteConnectorCommand graphCommand = (org.kie.workbench.common.stunner.core.graph.command.impl.DeleteConnectorCommand) tested.newGraphCommand(canvasHandler); assertNotNull(graphCommand); assertEquals(candidate, graphCommand.getEdge()); }