LocalSearchForm implements IsElement { public void onLocalSearchRemoved() { phaseConfigForm.removeLocalSearch(this); } @Inject  LocalSearchForm(final LocalSearchFormView view); void setPhaseConfigForm(PhaseConfigForm phaseConfigForm); void onLocalSearchTypeSelected(final String localSearchType); void onLocalSearchRemoved(); LocalSearchPhaseConfigModel getModel(); void setModel(LocalSearchPhaseConfigModel model); @Override HTMLElement getElement();  }
@Test public void onLocalSearchRemoved() { localSearchForm.onLocalSearchRemoved(); verify(phaseConfigForm).removeLocalSearch(localSearchForm); }