SettingsScenarioSimulationDropdownView extends ScenarioSimulationDropdownView implements ScenarioSimulationDropdown.View { public void initialize(String value) { dropdown().selectpicker("val", value); dropdown().selectpicker("show"); } @Inject  SettingsScenarioSimulationDropdownView(HTMLSelectElement nativeSelect,
                                                  HTMLOptionElement htmlOptionElement,
                                                  TranslationService translationService); void initialize(String value); @Override void clear(); final static String BEAN_NAME; }
@Test public void initialize() { ((SettingsScenarioSimulationDropdownView) assetsDropdownView).initialize(DEFAULT_VALUE); verify(dropdownMock, times(1)).selectpicker(eq("val"), eq(DEFAULT_VALUE)); verify(dropdownMock, times(1)).selectpicker(eq("show")); }