ACLSettings implements IsWidget { void onPrioritySelected() { int priority = getPriority(); priorityChangedEvent.fire(new PriorityChangedEvent(this, priority)); } @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 testOnPrioritySelected() { presenter.onPrioritySelected(); verify(priorityChangedEvent).fire(any()); }