### Question:
SearchBarComponent { @PostConstruct void setup() { view.init(this); } @Inject  SearchBarComponent(final View view); void init(final EditorSearchIndex<T> editorSearchIndex); View getView(); void disableSearch();  }### Answer:
@Test public void testSetup() { component.setup(); verify(view).init(component); }