ACLSettings implements IsWidget { void onHomePerspectiveSelected() { PerspectiveActivity p = getHomePerspective(); homePerspectiveChangedEvent.fire(new HomePerspectiveChangedEvent(this, p)); } @Inject  ACLSettings(View view,
                       PermissionManager permissionManager,
                       PerspectiveDropDown homePerspectiveDropDown,
                       PerspectiveTreeProvider perspectiveTreeProvider,
                       PriorityDropDown priorityDropDown,
                       Event<HomePerspectiveChangedEvent> homePerspectiveChangedEvent,
                       Event<PriorityChangedEvent> priorityChangedEvent); @Override Widget asWidget(); PerspectiveActivity getHomePerspective(); int getPriority(); void show(Role role); void show(Group group); void edit(Role role); void edit(Group group); void updateAuthzPolicy(@Observes AuthorizationPolicySavedEvent authzPolicySavedEvent);  }
@Test public void testOnHomePerspectiveChange() { presenter.onHomePerspectiveSelected(); verify(homePerspectiveChangedEvent).fire(any()); }