@Test public void testOnAddProviderType() { presenter.onAddProviderType(); verify(addNewProviderTypeEvent, times(1)).fire(any(AddNewProviderTypeEvent.class)); }
public void onAddProviderType() { addNewProviderTypeEvent.fire(new AddNewProviderTypeEvent()); }
ProviderTypeNavigationPresenter { public void onAddProviderType() { addNewProviderTypeEvent.fire(new AddNewProviderTypeEvent()); } }
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); }
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(); }
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();  }