@Test public void testSetupSelectPickerOnChangeHandler() { final Element element = mock(Element.class); doReturn(element).when(view).getSelectPicker(); view.setupSelectPickerOnChangeHandler(); verify(view).setupOnChangeHandler(element); }
void setupSelectPickerOnChangeHandler() { setupOnChangeHandler(getSelectPicker()); }
DataTypeSelectView implements DataTypeSelect.View { void setupSelectPickerOnChangeHandler() { setupOnChangeHandler(getSelectPicker()); } }
DataTypeSelectView implements DataTypeSelect.View { void setupSelectPickerOnChangeHandler() { setupOnChangeHandler(getSelectPicker()); } @Inject  DataTypeSelectView(final HTMLDivElement typeText,
                              final HTMLSelectElement typeSelect,
                              final HTMLOptGroupElement typeSelectOptGroup,
                              final HTMLOptionElement typeSelectOption,
                              final HTMLOptGroupElement typeSelectStructureOptGroup,
                              final TranslationService translationService); }
DataTypeSelectView implements DataTypeSelect.View { void setupSelectPickerOnChangeHandler() { setupOnChangeHandler(getSelectPicker()); } @Inject  DataTypeSelectView(final HTMLDivElement typeText,
                              final HTMLSelectElement typeSelect,
                              final HTMLOptGroupElement typeSelectOptGroup,
                              final HTMLOptionElement typeSelectOption,
                              final HTMLOptGroupElement typeSelectStructureOptGroup,
                              final TranslationService translationService); @Override void init(final DataTypeSelect presenter); @Override void setupDropdown(); @Override void enableEditMode(); @Override void disableEditMode(); @Override void setDataType(final DataType dataType); void onSelectChange(final JQuerySelectPickerEvent event); @Override String getValue(); }
DataTypeSelectView implements DataTypeSelect.View { void setupSelectPickerOnChangeHandler() { setupOnChangeHandler(getSelectPicker()); } @Inject  DataTypeSelectView(final HTMLDivElement typeText,
                              final HTMLSelectElement typeSelect,
                              final HTMLOptGroupElement typeSelectOptGroup,
                              final HTMLOptionElement typeSelectOption,
                              final HTMLOptGroupElement typeSelectStructureOptGroup,
                              final TranslationService translationService); @Override void init(final DataTypeSelect presenter); @Override void setupDropdown(); @Override void enableEditMode(); @Override void disableEditMode(); @Override void setDataType(final DataType dataType); void onSelectChange(final JQuerySelectPickerEvent event); @Override String getValue();  }