GroupUsersAssignment implements IsWidget { public void hide() { view.hide(); } @Inject  GroupUsersAssignment(@AssignedEntitiesInlineEditor final AssignedEntitiesEditor<GroupUsersAssignment> view,
                                final UsersExplorer usersExplorer,
                                final Event<AddUsersToGroupEvent> addUsersToGroupEvent); @Override Widget asWidget(); @PostConstruct void init(); void show(final String header); void hide(); void clear();  }
@Test public void testHide() { tested.hide(); verify(view, times(1)).hide(); verify(usersExplorer, times(0)).clear(); verify(usersExplorer, times(0)).show(any(ExplorerViewContext.class)); verify(view, times(0)).show(anyString()); verify(view, times(0)).init(tested); verify(view, times(0)).configure(any(EntitiesExplorerView.class)); verify(view, times(0)).configureSave(anyString(), any(Command.class)); verify(view, times(0)).configureClose(anyString(), any(Command.class)); }