@Test public void testSearch() { presenter.search( "something" ); verify( artifactListPresenter ).search( "something", FORMATS ); }
public void search( final String value ) { artifactListPresenter.search( value, FORMATS ); }
ArtifactListWidgetPresenter { public void search( final String value ) { artifactListPresenter.search( value, FORMATS ); } }
ArtifactListWidgetPresenter { public void search( final String value ) { artifactListPresenter.search( value, FORMATS ); } @Inject  ArtifactListWidgetPresenter( final View view,
                                        final ArtifactListPresenter artifactListPresenter,
                                        final Event<DependencyPathSelectedEvent> dependencyPathSelectedEvent ); }
ArtifactListWidgetPresenter { public void search( final String value ) { artifactListPresenter.search( value, FORMATS ); } @Inject  ArtifactListWidgetPresenter( final View view,
                                        final ArtifactListPresenter artifactListPresenter,
                                        final Event<DependencyPathSelectedEvent> dependencyPathSelectedEvent ); @PostConstruct void init(); View getView(); void search( final String value ); void clear(); ArtifactListView getArtifactListView(); void onSelect( final String pathSelected ); void refresh(); }
ArtifactListWidgetPresenter { public void search( final String value ) { artifactListPresenter.search( value, FORMATS ); } @Inject  ArtifactListWidgetPresenter( final View view,
                                        final ArtifactListPresenter artifactListPresenter,
                                        final Event<DependencyPathSelectedEvent> dependencyPathSelectedEvent ); @PostConstruct void init(); View getView(); void search( final String value ); void clear(); ArtifactListView getArtifactListView(); void onSelect( final String pathSelected ); void refresh();  }