### Question:
DeleteNodeCommand extends AbstractCanvasGraphCommand { @Override @SuppressWarnings("unchecked") protected Command<GraphCommandExecutionContext, RuleViolation> newGraphCommand(final AbstractCanvasHandler context) { return new SafeDeleteNodeCommand(candidate, deleteProcessor, options); } DeleteNodeCommand(final Node candidate);  DeleteNodeCommand(final Node candidate,
                             final SafeDeleteNodeCommand.Options options); @SuppressWarnings("unchecked")  DeleteNodeCommand(final Node candidate,
                             final SafeDeleteNodeCommand.Options options,
                             final CanvasDeleteProcessor deleteProcessor); Node getCandidate(); SafeDeleteNodeCommand.Options getOptions(); @Override String toString(); CanvasDeleteProcessor getDeleteProcessor();  }### Answer:
@Test public void startNodeTestGraphCommand() { this.tested = new DeleteNodeCommand(graphHolder.startNode); final org.kie.workbench.common.stunner.core.graph.command.impl.SafeDeleteNodeCommand graphCommand = (org.kie.workbench.common.stunner.core.graph.command.impl.SafeDeleteNodeCommand) tested.newGraphCommand(canvasHandler); assertNotNull(graphCommand); assertEquals(graphHolder.startNode, graphCommand.getNode()); }
@Test public void intermediateNodeTestGraphCommand() { this.tested = new DeleteNodeCommand(graphHolder.intermNode); final org.kie.workbench.common.stunner.core.graph.command.impl.SafeDeleteNodeCommand graphCommand = (org.kie.workbench.common.stunner.core.graph.command.impl.SafeDeleteNodeCommand) tested.newGraphCommand(canvasHandler); assertNotNull(graphCommand); assertEquals(graphHolder.intermNode, graphCommand.getNode()); }