@Test public void readAsString_A$File() throws Exception { FileReaderCommonsIOImpl target = new FileReaderCommonsIOImpl(); File file = new File("release/junithelper-config.properties"); String actual = target.readAsString(file); assertNotNull(actual); }
@Override public String readAsString(File file) throws IOException { String readResult = FileUtils.readFileToString(file, getDetectedEncoding(file)); return readResult; }
FileReaderCommonsIOImpl implements FileReader { @Override public String readAsString(File file) throws IOException { String readResult = FileUtils.readFileToString(file, getDetectedEncoding(file)); return readResult; } }
FileReaderCommonsIOImpl implements FileReader { @Override public String readAsString(File file) throws IOException { String readResult = FileUtils.readFileToString(file, getDetectedEncoding(file)); return readResult; }  }
FileReaderCommonsIOImpl implements FileReader { @Override public String readAsString(File file) throws IOException { String readResult = FileUtils.readFileToString(file, getDetectedEncoding(file)); return readResult; }  @Override InputStream getResourceAsStream(String name); @Override String readAsString(File file); @Override String getDetectedEncoding(File file); }
FileReaderCommonsIOImpl implements FileReader { @Override public String readAsString(File file) throws IOException { String readResult = FileUtils.readFileToString(file, getDetectedEncoding(file)); return readResult; }  @Override InputStream getResourceAsStream(String name); @Override String readAsString(File file); @Override String getDetectedEncoding(File file);  }