@Test public void testSetPickerValue() { final Element element = mock(Element.class); final String value = "value"; doReturn(element).when(view).getSelectPicker(); view.setPickerValue(value); verify(view).setPickerValue(element, value); }
void setPickerValue(final String value) { setPickerValue(getSelectPicker(), value); this.value = value; }
DataTypeSelectView implements DataTypeSelect.View { void setPickerValue(final String value) { setPickerValue(getSelectPicker(), value); this.value = value; } }
DataTypeSelectView implements DataTypeSelect.View { void setPickerValue(final String value) { setPickerValue(getSelectPicker(), value); this.value = value; } @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 setPickerValue(final String value) { setPickerValue(getSelectPicker(), value); this.value = value; } @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 setPickerValue(final String value) { setPickerValue(getSelectPicker(), value); this.value = value; } @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();  }