### Question:
IoUtils { public static List<String> readLines(File file) { if (!file.exists()) return emptyList(); try { return Files.readAllLines(file.toPath()); } 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 testReadLines() { assertEquals(asList("k1:", " k2: v2"), readLines(resourceFile())); }