@Test public void onAddProviderTypeTest() { presenter.onAddProviderType(); verify(addNewProviderTypeEvent, times(1)).fire(any(AddNewProviderTypeEvent.class)); }
public void onAddProviderType() { addNewProviderTypeEvent.fire(new AddNewProviderTypeEvent()); }
ProviderTypeEmptyPresenter { public void onAddProviderType() { addNewProviderTypeEvent.fire(new AddNewProviderTypeEvent()); } }
ProviderTypeEmptyPresenter { public void onAddProviderType() { addNewProviderTypeEvent.fire(new AddNewProviderTypeEvent()); } @Inject  ProviderTypeEmptyPresenter(final View view,
                                      final Event<AddNewProviderTypeEvent> addNewProviderTypeEvent); }
ProviderTypeEmptyPresenter { public void onAddProviderType() { addNewProviderTypeEvent.fire(new AddNewProviderTypeEvent()); } @Inject  ProviderTypeEmptyPresenter(final View view,
                                      final Event<AddNewProviderTypeEvent> addNewProviderTypeEvent); @PostConstruct void init(); View getView(); void onAddProviderType(); }
ProviderTypeEmptyPresenter { public void onAddProviderType() { addNewProviderTypeEvent.fire(new AddNewProviderTypeEvent()); } @Inject  ProviderTypeEmptyPresenter(final View view,
                                      final Event<AddNewProviderTypeEvent> addNewProviderTypeEvent); @PostConstruct void init(); View getView(); void onAddProviderType();  }