public static void closeAllQuietly(Collection<? extends AutoCloseable> collection) {
        if (collection == null) {
            return;
        }

        for (AutoCloseable closeable : collection) {
            closeQuietly(closeable);
        }
    }
@Test
    public void test_closeAllQuietly_whenNullCollection() {
        closeAllQuietly(null);
    }