### Question:
DeleteConnectorCommand extends AbstractCanvasGraphCommand { @Override protected AbstractCanvasCommand newCanvasCommand(final AbstractCanvasHandler context) { return new DeleteCanvasConnectorCommand(candidate); } DeleteConnectorCommand(final Edge candidate); @Override String toString();  }### Answer:
@Test public void testGetCanvasCommand() { final DeleteCanvasConnectorCommand canvasCommand = (DeleteCanvasConnectorCommand) tested.newCanvasCommand(canvasHandler); assertNotNull(canvasCommand); assertEquals(candidate, canvasCommand.getCandidate()); }