verifyNoMoreInteractions(searchResultsPresenter);
}
@Test
public void onProcessForProjectWideSearchWithReplacementTextChange() {
HistoryToken token = new HistoryToken();
token.setProjectSearchCaseSensitive(true);
token.setProjectSearchInSource(false);
token.setProjectSearchInTarget(true);
token.setProjectSearchText("something");
token.setProjectSearchReplacement("something else");
service.processForProjectWideSearch(token);
verify(searchResultsPresenter).updateViewAndRun("something",
token.getProjectSearchCaseSensitive(),
token.isProjectSearchInSource(),
token.isProjectSearchInTarget());
verify(searchResultsPresenter).updateReplacementText("something else");
}