### Question:
UserConfigUtils { public static Map<String, UserConfig> getAllConfigFiles() { return getAllConfigFiles(AppData.getConfigFolder()); } private  UserConfigUtils(); static UserConfig createUserConfig(String username); static UserConfig createUserConfig(Path file); static Map<String, UserConfig> getAllConfigFiles();  }### Answer:
@Test public void testGetAllConfigFiles() throws IOException { UserConfig cfgJohn = UserConfigUtils.createUserConfig("john"); cfgJohn.load(); cfgJohn.setUsername("john"); UserConfig cfgSteven = UserConfigUtils.createUserConfig("steven"); cfgSteven.load(); cfgSteven.setUsername("steven"); Map<String, UserConfig> cfgFiles = UserConfigUtils.getAllConfigFiles(); assertEquals(2, cfgFiles.size()); assertTrue(cfgFiles.containsKey("john")); assertTrue(cfgFiles.containsKey("steven")); assertEquals("john", cfgFiles.get("john").getUsername()); assertEquals("steven", cfgFiles.get("steven").getUsername()); }