### Question:
CaseManagementAddNodeCommand extends AddNodeCommand { @Override protected Command<GraphCommandExecutionContext, RuleViolation> newGraphCommand(AbstractCanvasHandler context) { return new org.kie.workbench.common.stunner.cm.client.command.graph.CaseManagementAddNodeCommand(getCandidate()); } CaseManagementAddNodeCommand(Node candidate, String shapeSetId);   }### Answer:
@Test public void testNewGraphCommand() { final Command<GraphCommandExecutionContext, RuleViolation> command = tested.newGraphCommand(canvasHandler); assertNotNull(command); assertTrue(command instanceof org.kie.workbench.common.stunner.cm.client.command.graph.CaseManagementAddNodeCommand); assertEquals(candidate, ((org.kie.workbench.common.stunner.cm.client.command.graph.CaseManagementAddNodeCommand) command).getCandidate()); }