### Question:
IoUtils { public static String readFully(File file) { try { return readFully(new FileInputStream(file)); } catch (IOException e) { throw new RuntimeException(e); } }  static String readFully(File file); static String readClasspathResource(String file); static String readFully(InputStream is); static List<String> readLines(File file);  }### Answer:
@Test void testReadFully() throws FileNotFoundException { String expected = "k1:" + LINES_SEPARATOR + " k2: v2"; assertEquals(expected, readFully(resourceFile())); assertEquals(expected, readFully(new FileInputStream(resourceFile()))); }