@Test public void testWhenInitContextMenuThenRelatedViewIsInit() { contextMenu.init(); verify(view).init(contextMenu); }
@PostConstruct public void init() { view.init(this); }
ContextMenu { @PostConstruct public void init() { view.init(this); } }
ContextMenu { @PostConstruct public void init() { view.init(this); } @Inject  ContextMenu(final View view); }
ContextMenu { @PostConstruct public void init() { view.init(this); } @Inject  ContextMenu(final View view); @PostConstruct void init(); void show(); void show(Consumer<ContextMenu> contextMenuConsumer); void hide(); HTMLElement getElement(); List<ListSelectorItem> getItems(); void resetMenuItems(); void setHeaderMenu(final String title, final String iconClass); void addTextMenuItem(final String itemName, final boolean isEnabled, final Command command); }
ContextMenu { @PostConstruct public void init() { view.init(this); } @Inject  ContextMenu(final View view); @PostConstruct void init(); void show(); void show(Consumer<ContextMenu> contextMenuConsumer); void hide(); HTMLElement getElement(); List<ListSelectorItem> getItems(); void resetMenuItems(); void setHeaderMenu(final String title, final String iconClass); void addTextMenuItem(final String itemName, final boolean isEnabled, final Command command);  }