### Question:
IOUtil { public static void close(Closeable closeable) { if (closeable != null) { try { closeable.close(); } catch (IOException ignored) { } } }  static String readAsString(InputStream inputStream); static String readAsString(File file); static void close(Closeable closeable); static boolean endsWith(File file, String pathname);  }### Answer:
@Test public void test() { IOUtil.close( () -> { throw new IOException(); }); }