### Question:
DefaultFileInputGenerator implements FileInputGenerator { public ConfigurationSettingFileInput getSetting() { return this.setting; } protected  DefaultFileInputGenerator();  DefaultFileInputGenerator(File inputFile);  DefaultFileInputGenerator(ConfigurationSettingFileInput setting);  DefaultFileInputGenerator(File inputFile, ConfigurationSettingFileInput setting); @Override RelationalInput generateNewCopy(); @Override File getInputFile(); ConfigurationSettingFileInput getSetting(); @Override void close();  }### Answer:
@Test public void testConstructor() { assertEquals(expectedFile, generator.inputFile); assertEquals(expectedSetting, generator.getSetting()); }
@Test public void testConstructorSetting() throws AlgorithmConfigurationException, FileNotFoundException { ConfigurationSettingFileInput defaultSetting = new ConfigurationSettingFileInput(expectedFile.getPath()); DefaultFileInputGenerator actualGenerator = new DefaultFileInputGenerator(expectedFile); assertEquals(expectedFile, actualGenerator.inputFile); assertEquals(defaultSetting.hasHeader(), actualGenerator.getSetting().hasHeader()); assertEquals(defaultSetting.isSkipDifferingLines(), actualGenerator.getSetting().isSkipDifferingLines()); assertEquals(defaultSetting.isStrictQuotes(), actualGenerator.getSetting().isStrictQuotes()); }