### Question:
ClearCommand extends AbstractCanvasGraphCommand { @Override protected AbstractCanvasCommand newCanvasCommand(final AbstractCanvasHandler context) { return new ClearCanvasCommand(); }  @Override String toString();  }### Answer:
@Test public void testGetCanvasCommand() { final ClearCanvasCommand canvasCommand = (ClearCanvasCommand) tested.newCanvasCommand(canvasHandler); assertNotNull(canvasCommand); }