### Question:
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();  }### Answer:
@Test public void testSearch() { presenter.search( "something" ); verify( artifactListPresenter ).search( "something", FORMATS ); }