### Question:
FileSettingsReader { public static SettingsMap read(String configName, File file) { SettingsMap settingsMap = new SimpleSettingsMap(configName, !file.exists()); new FileSettingsReader().readIntoMap(settingsMap, file); return settingsMap; }  static SettingsMap read(String configName, File file); void readIntoMap(SettingsMap settings, BufferedReader fileContents); void readIntoMap(SettingsMap settings, File file);  }### Answer:
@Test public void testNewFile() { SettingsMap settings = FileSettingsReader.read("Test", new File("./non-existing-file.ini")); assertTrue(settings.isNewConfig()); assertEquals("New settings are empty", 0, settings.getRawSettings().size()); }