@Test public void testConfigurationValueListForFields() { DerivedModelWithFields model = new DerivedModelWithFields(); String[] expectedValues = { "simpleEnumField", "complexEnumField", "stringField", "longField", "intField", "boolField" }; String[] modelValues = model.configurationValueList().toArray(new String[0]); Arrays.sort(expectedValues); Arrays.sort(modelValues); Assert.assertArrayEquals(expectedValues, modelValues); }
public ArrayList<String> configurationValueList() { return valueList(true, false); }
AppConfigBaseModel { public ArrayList<String> configurationValueList() { return valueList(true, false); } }
AppConfigBaseModel { public ArrayList<String> configurationValueList() { return valueList(true, false); }  }
AppConfigBaseModel { public ArrayList<String> configurationValueList() { return valueList(true, false); }  ArrayList<String> configurationValueList(); ArrayList<String> globalValueList(); ArrayList<String> getConfigurationCategories(); ArrayList<String> getGlobalCategories(); boolean valueBelongsToCategory(String value, String category); Object getCurrentValue(String value); void applyCustomSettings(String configName, AppConfigStorageItem item); }
AppConfigBaseModel { public ArrayList<String> configurationValueList() { return valueList(true, false); }  ArrayList<String> configurationValueList(); ArrayList<String> globalValueList(); ArrayList<String> getConfigurationCategories(); ArrayList<String> getGlobalCategories(); boolean valueBelongsToCategory(String value, String category); Object getCurrentValue(String value); void applyCustomSettings(String configName, AppConfigStorageItem item);  }