### Question:
CaseManagementCanvasHandler extends CanvasHandlerImpl<D, C> { @Override public boolean isCanvasRoot(final Element parent) { return false; } @Inject  CaseManagementCanvasHandler(final ClientDefinitionManager clientDefinitionManager,
                                       final RuleManager ruleManager,
                                       final GraphUtils graphUtils,
                                       final GraphIndexBuilder<? extends MutableIndex<Node, Edge>> indexBuilder,
                                       final ShapeManager shapeManager,
                                       final TextPropertyProviderFactory textPropertyProviderFactory,
                                       final Event<CanvasElementAddedEvent> canvasElementAddedEvent,
                                       final Event<CanvasElementRemovedEvent> canvasElementRemovedEvent,
                                       final Event<CanvasElementUpdatedEvent> canvasElementUpdatedEvent,
                                       final Event<CanvasElementsClearEvent> canvasElementsClearEvent,
                                       final @CaseManagementEditor CanvasCommandFactory<AbstractCanvasHandler> canvasCommandFactory); @Override boolean isCanvasRoot(final Element parent); @Override void register(final Shape shape,
                         final Element<View<?>> candidate,
                         final boolean fireEvents); @Override void deregister(final Shape shape,
                           final Element element,
                           final boolean fireEvents); @Override void addShape(final Shape shape); @Override void addChild(final Element parent,
                         final Element child); @SuppressWarnings("unchecked") void addChild(final Element parent,
                         final Element child,
                         final int index); @Override void removeShape(final Shape shape); @Override void removeChild(final Element parent,
                            final Element child); @Override void applyElementMutation(final Shape shape,
                                     final Element candidate,
                                     final boolean applyPosition,
                                     final boolean applyProperties,
                                     final MutationContext mutationContext); @Override void applyElementMutation(final Element candidate,
                                     final boolean applyPosition,
                                     final boolean applyProperties,
                                     final MutationContext mutationContext); Optional<Element> getDiagramNode(); @Override Optional<Element> getElementAt(double x, double y);  }### Answer:
@Test public void checkCanvasRoot() { assertFalse(handler.isCanvasRoot(mock(Element.class))); }
@Test public void checkCanvasRootUUID() { assertFalse(handler.isCanvasRoot("any-uuid")); }