### Question:
ConfigManager { public static final Set<String> getConfigAsStringArray(ConfigKey key) { Object value = configMap.get(key); if ( value != null && value instanceof Set ) { return (Set<String>)value; } return new HashSet<String>(); }  static final String getConfigAsString(ConfigKey key); static final Set<String> getConfigAsStringArray(ConfigKey key); static final void saveConfigKeyValue(ConfigKey key, String value); static final void saveConfigKeyValue(ConfigKey key, Collection<String> values); static final String DEFAULT_CONFIG_FILE_PATH; static final File DEFAULT_CONFIG_FILE; }### Answer:
@Test public void testGetConfigAsStringArray() { List<String> password = new ArrayList<String>(); password.add("1234"); password.add("5678"); ConfigManager.saveConfigKeyValue(ConfigKey.adminPassword, password); assertEquals("1234", ConfigManager.getConfigAsString(ConfigKey.adminPassword)); Set<String> set = ConfigManager.getConfigAsStringArray(ConfigKey.adminPassword); assertNotNull(set); }