### Question:
ProviderTypeNavigationPresenter { public void onAddProviderType() { addNewProviderTypeEvent.fire(new AddNewProviderTypeEvent()); } @Inject  ProviderTypeNavigationPresenter(final View view,
                                           final Event<AddNewProviderTypeEvent> addNewProviderTypeEvent,
                                           final Event<ProviderTypeListRefreshEvent> providerTypeListRefreshEvent,
                                           final Event<ProviderTypeSelectedEvent> providerTypeSelectedEvent); @PostConstruct void init(); void setup(final ProviderType firstProvider,
                      final Collection<ProviderType> providerTypes); View getView(); void clear(); void onRefresh(); void onAddProviderType();  }### Answer:
@Test public void testOnAddProviderType() { presenter.onAddProviderType(); verify(addNewProviderTypeEvent, times(1)).fire(any(AddNewProviderTypeEvent.class)); }