@Test public void isValuePresentInKieAssets_Present() { assertTrue(((SettingsScenarioSimulationDropdown) assetsDropdown).isValuePresentInKieAssets(DEFAULT_VALUE)); }
protected boolean isValuePresentInKieAssets(String value) { return kieAssets.stream().anyMatch(asset -> asset.getValue().equals(value)); }
SettingsScenarioSimulationDropdown extends ScenarioSimulationDropdown { protected boolean isValuePresentInKieAssets(String value) { return kieAssets.stream().anyMatch(asset -> asset.getValue().equals(value)); } }
SettingsScenarioSimulationDropdown extends ScenarioSimulationDropdown { protected boolean isValuePresentInKieAssets(String value) { return kieAssets.stream().anyMatch(asset -> asset.getValue().equals(value)); } @Inject  SettingsScenarioSimulationDropdown(@Named(SettingsScenarioSimulationDropdownView.BEAN_NAME) SettingsScenarioSimulationDropdownView view,
                                              ScenarioSimulationAssetsDropdownProvider dataProvider); }
SettingsScenarioSimulationDropdown extends ScenarioSimulationDropdown { protected boolean isValuePresentInKieAssets(String value) { return kieAssets.stream().anyMatch(asset -> asset.getValue().equals(value)); } @Inject  SettingsScenarioSimulationDropdown(@Named(SettingsScenarioSimulationDropdownView.BEAN_NAME) SettingsScenarioSimulationDropdownView view,
                                              ScenarioSimulationAssetsDropdownProvider dataProvider); void loadAssets(String currentValue); void registerOnMissingValueHandler(final Command onMissingValueHandler); }
SettingsScenarioSimulationDropdown extends ScenarioSimulationDropdown { protected boolean isValuePresentInKieAssets(String value) { return kieAssets.stream().anyMatch(asset -> asset.getValue().equals(value)); } @Inject  SettingsScenarioSimulationDropdown(@Named(SettingsScenarioSimulationDropdownView.BEAN_NAME) SettingsScenarioSimulationDropdownView view,
                                              ScenarioSimulationAssetsDropdownProvider dataProvider); void loadAssets(String currentValue); void registerOnMissingValueHandler(final Command onMissingValueHandler); final static String BEAN_NAME; }