@Test public void testPreviousResult() { component.previousResult(); verify(index).previousResult(); verify(component).updateViewNumber(); }
void previousResult() { getEditorSearchIndex().previousResult(); updateViewNumber(); }
SearchBarComponent { void previousResult() { getEditorSearchIndex().previousResult(); updateViewNumber(); } }
SearchBarComponent { void previousResult() { getEditorSearchIndex().previousResult(); updateViewNumber(); } @Inject  SearchBarComponent(final View view); }
SearchBarComponent { void previousResult() { getEditorSearchIndex().previousResult(); updateViewNumber(); } @Inject  SearchBarComponent(final View view); void init(final EditorSearchIndex<T> editorSearchIndex); View getView(); void disableSearch(); }
SearchBarComponent { void previousResult() { getEditorSearchIndex().previousResult(); updateViewNumber(); } @Inject  SearchBarComponent(final View view); void init(final EditorSearchIndex<T> editorSearchIndex); View getView(); void disableSearch();  }