@Test public void testGetCategoriesWithUnCategorized() { DerivedModelWithMethods model = new DerivedModelWithMethods(); String[] expectedValues = { "Enums", "Strings", "Numbers", "" }; String[] modelValues = model.getConfigurationCategories().toArray(new String[0]); Arrays.sort(expectedValues); Arrays.sort(modelValues); Assert.assertArrayEquals(expectedValues, modelValues); }
public ArrayList<String> getConfigurationCategories() { return getCategories(true, false); }
AppConfigBaseModel { public ArrayList<String> getConfigurationCategories() { return getCategories(true, false); } }
AppConfigBaseModel { public ArrayList<String> getConfigurationCategories() { return getCategories(true, false); }  }
AppConfigBaseModel { public ArrayList<String> getConfigurationCategories() { return getCategories(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> getConfigurationCategories() { return getCategories(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);  }