SettingsScenarioSimulationDropdown extends ScenarioSimulationDropdown { public void loadAssets(String currentValue) { this.currentValue = currentValue; super.loadAssets(); } @Inject  SettingsScenarioSimulationDropdown(@Named(SettingsScenarioSimulationDropdownView.BEAN_NAME) SettingsScenarioSimulationDropdownView view,
                                              ScenarioSimulationAssetsDropdownProvider dataProvider); void loadAssets(String currentValue); void registerOnMissingValueHandler(final Command onMissingValueHandler); final static String BEAN_NAME; }
@Test public void loadAssets() { ((SettingsScenarioSimulationDropdown) assetsDropdown).loadAssets(LOWER_CASE_VALUE); verify(assetsDropdown, times(1)).clear(); verify(assetsDropdown, times(1)).initializeDropdown(); assertEquals(((SettingsScenarioSimulationDropdown) assetsDropdown).currentValue, LOWER_CASE_VALUE); }