@Test public void addValue() { kieAssetsDropdownView.addValue(kieAssetsDropdownItemMock); verify(kieAssetsDropdownView, times(1)).entryOption(eq(kieAssetsDropdownItemMock)); verify(nativeSelectMock, times(1)).appendChild(eq(entryOptionMock)); }
@Override public void addValue(final KieAssetsDropdownItem entry) { nativeSelect.appendChild(entryOption(entry)); }
KieAssetsDropdownView implements KieAssetsDropdown.View { @Override public void addValue(final KieAssetsDropdownItem entry) { nativeSelect.appendChild(entryOption(entry)); } }
KieAssetsDropdownView implements KieAssetsDropdown.View { @Override public void addValue(final KieAssetsDropdownItem entry) { nativeSelect.appendChild(entryOption(entry)); } @Inject  KieAssetsDropdownView(final HTMLSelectElement nativeSelect,
                                 final HTMLOptionElement htmlOptionElement,
                                 final TranslationService translationService); }
KieAssetsDropdownView implements KieAssetsDropdown.View { @Override public void addValue(final KieAssetsDropdownItem entry) { nativeSelect.appendChild(entryOption(entry)); } @Inject  KieAssetsDropdownView(final HTMLSelectElement nativeSelect,
                                 final HTMLOptionElement htmlOptionElement,
                                 final TranslationService translationService); @Override void init(final KieAssetsDropdown presenter); @PostConstruct void init(); @Override void addValue(final KieAssetsDropdownItem entry); @Override void clear(); @Override void initialize(); @Override void refreshSelectPicker(); @Override String getValue(); }
KieAssetsDropdownView implements KieAssetsDropdown.View { @Override public void addValue(final KieAssetsDropdownItem entry) { nativeSelect.appendChild(entryOption(entry)); } @Inject  KieAssetsDropdownView(final HTMLSelectElement nativeSelect,
                                 final HTMLOptionElement htmlOptionElement,
                                 final TranslationService translationService); @Override void init(final KieAssetsDropdown presenter); @PostConstruct void init(); @Override void addValue(final KieAssetsDropdownItem entry); @Override void clear(); @Override void initialize(); @Override void refreshSelectPicker(); @Override String getValue(); static final String HIDDEN_CSS_CLASS; static final String SELECT_PICKER_SUBTEXT_ATTRIBUTE; }