@Test public void testShow() { drdContextMenu.show(new ArrayList<>()); verify(contextMenu).show(any(Consumer.class)); }
public void show(final Collection<Node<? extends Definition<?>, Edge>> selectedNodes) { contextMenu.show(self -> setDRDContextMenuHandler(self, selectedNodes)); }
DRDContextMenu { public void show(final Collection<Node<? extends Definition<?>, Edge>> selectedNodes) { contextMenu.show(self -> setDRDContextMenuHandler(self, selectedNodes)); } }
DRDContextMenu { public void show(final Collection<Node<? extends Definition<?>, Edge>> selectedNodes) { contextMenu.show(self -> setDRDContextMenuHandler(self, selectedNodes)); } @Inject  DRDContextMenu(final ContextMenu contextMenu,
                          final ClientTranslationService translationService,
                          final DRDContextMenuService drdContextMenuService,
                          final DMNDiagramsSession dmnDiagramsSession); }
DRDContextMenu { public void show(final Collection<Node<? extends Definition<?>, Edge>> selectedNodes) { contextMenu.show(self -> setDRDContextMenuHandler(self, selectedNodes)); } @Inject  DRDContextMenu(final ContextMenu contextMenu,
                          final ClientTranslationService translationService,
                          final DRDContextMenuService drdContextMenuService,
                          final DMNDiagramsSession dmnDiagramsSession); String getTitle(); void appendContextMenuToTheDOM(final double x, final double y); void show(final Collection<Node<? extends Definition<?>, Edge>> selectedNodes); HTMLElement getElement(); }
DRDContextMenu { public void show(final Collection<Node<? extends Definition<?>, Edge>> selectedNodes) { contextMenu.show(self -> setDRDContextMenuHandler(self, selectedNodes)); } @Inject  DRDContextMenu(final ContextMenu contextMenu,
                          final ClientTranslationService translationService,
                          final DRDContextMenuService drdContextMenuService,
                          final DMNDiagramsSession dmnDiagramsSession); String getTitle(); void appendContextMenuToTheDOM(final double x, final double y); void show(final Collection<Node<? extends Definition<?>, Edge>> selectedNodes); HTMLElement getElement();  }