GroupContextMenuItemPresenter implements BaseMenuItemPresenter,
                                                      HasChildren,
                                                      CanBeDisabled { @Override public void addChild(final IsElement item) { view.addItem(item); } @Inject  GroupContextMenuItemPresenter(final View view); @PostConstruct void init(); void setup(final String label); @Override void addChild(final IsElement item); @Override View getView(); @Override void enable(); @Override void disable(); void pullRight();  }
@Test public void addChildTest() { final IsElement item = mock(IsElement.class); presenter.addChild(item); verify(view).addItem(item); }