### Question:
SearchBarComponent { public View getView() { return view; } @Inject  SearchBarComponent(final View view); void init(final EditorSearchIndex<T> editorSearchIndex); View getView(); void disableSearch();  }### Answer:
@Test public void testGetView() { assertEquals(view, component.getView()); }