@Test
public void testCloseQuietly_withException() {

    final InputStream thrower = new InputStream() {
        @Override
        public int read() throws IOException {
            return 0;
        }
        @Override
        public void close() throws IOException {
            throw new IOException("test!");
        }
    };
    B2IoUtils.closeQuietly(thrower);
}