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