UserMenu implements MenuFactory.CustomMenuBuilder,
                                 HasMenus { public void clear() { userMenuView.clearMenuItems(); }  @Override void addMenus(final Menus menus); IsWidget getView(); @Override void push(MenuFactory.CustomMenuBuilder element); @Override MenuItem build(); void clear();  }
@Test public void testClear() { userMenu.clear(); verify(userMenuView).clearMenuItems(); }