@Test public void testShowSelectPicker() { final Element element = mock(Element.class); doReturn(element).when(view).getSelectPicker(); view.showSelectPicker(); verify(view).triggerPickerAction(element, "show"); }
void showSelectPicker() { triggerPickerAction(getSelectPicker(), "show"); }
DataTypeSelectView implements DataTypeSelect.View { void showSelectPicker() { triggerPickerAction(getSelectPicker(), "show"); } }
DataTypeSelectView implements DataTypeSelect.View { void showSelectPicker() { triggerPickerAction(getSelectPicker(), "show"); } @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 showSelectPicker() { triggerPickerAction(getSelectPicker(), "show"); } @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 showSelectPicker() { triggerPickerAction(getSelectPicker(), "show"); } @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();  }