### Question:
ArtifactSelectorPresenter { public void clear() { view.clear(); search(SEARCH_ALL_FILTER); } @Inject  ArtifactSelectorPresenter(final View view,
                                     final ArtifactListPresenter artifactListPresenter); @PostConstruct void init(); View getView(); void clear(); void refresh(); ArtifactListView getArtifactListView(); void setArtifactSelectHandler(final ArtifactSelectHandler artifactSelectHandler);  }### Answer:
@Test public void testClear() { presenter.clear(); verify(view, times(1)).clear(); verify(artifactListPresenter, times(1)).search(SEARCH_ALL_FILTER, presenter.FORMATS); }