### Question:
ArtifactListWidgetPresenter { @PostConstruct public void init() { artifactListPresenter.notifyOnRefresh( false ); artifactListPresenter.setup( ColumnType.GAV ); this.view.init( this ); search( "" ); } @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 testInit() { presenter.init(); verify( view ).init( presenter ); assertEquals( view, presenter.getView() ); assertEquals( artifactListPresenter.getView(), presenter.getArtifactListView() ); verify( artifactListPresenter ).notifyOnRefresh( false ); verify( artifactListPresenter ).setup( ColumnType.GAV ); verify( artifactListPresenter ).search( "", FORMATS ); }