### Question:
PeliasSearchView extends SearchView implements SearchView.OnQueryTextListener { public boolean cacheSearchResults() { return cacheSearchResults; } PeliasSearchView(Context context);  PeliasSearchView(Context context, AttributeSet attrs); void setSuggestFilter(SuggestFilter suggestFilter); void setAutoCompleteListView(final ListView listView); void disableAutoKeyboardShow(); void enableAutoKeyboardShow(); void setSearchSubmitListener(SearchSubmitListener listener); void setDismissKeyboardOnListScroll(boolean dismissOnScroll); @Override boolean onQueryTextSubmit(String query); @Override boolean onQueryTextChange(String text); void disableAutoComplete(); void setSavedSearch(SavedSearch savedSearch); void loadSavedSearches(); void setPelias(Pelias pelias); void setCallback(Callback<Result> callback); void setOnPeliasFocusChangeListener(OnFocusChangeListener onPeliasFocusChangeListener); void setOnSubmitListener(OnSubmitListener onSubmitListener); void setRecentSearchIconResourceId(int recentSearchIconResourceId); void setAutoCompleteIconResourceId(int autoCompleteIconResourceId); void setOnBackPressListener(OnBackPressListener onBackPressListener); void setCacheSearchResults(boolean cacheResults); boolean cacheSearchResults(); @Override void onActionViewCollapsed(); static final String TAG; }### Answer:
@Test public void shouldCacheSearchResultsByDefault() { assertThat(peliasSearchView.cacheSearchResults()).isTrue(); }