### Question:
ArtifactListWidgetPresenter { public void onSelect( final String pathSelected ) { dependencyPathSelectedEvent.fire( new DependencyPathSelectedEvent( this, pathSelected ) ); } @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 testOnSelect() { presenter.onSelect( "some path" ); verify( dependencyPathSelectedEvent ).fire( new DependencyPathSelectedEvent( presenter, "some path" ) ); }