### Question:
IOUtils { public static <T extends AutoCloseable> void closeAllSilently( Collection<T> closeables ) { close( ( msg, cause ) -> null, closeables.toArray( new AutoCloseable[0] ) ); } private  IOUtils(); static void closeAll( Collection<T> closeables ); static void closeAllUnchecked( Collection<T> closeables ); @SafeVarargs static void closeAllUnchecked( T... closeables ); static void closeAllSilently( Collection<T> closeables ); @SafeVarargs static void closeAll( T... closeables ); @SafeVarargs static void closeAllSilently( T... closeables ); static void close( BiFunction<String,Throwable,E> constructor, Collection<T> closeables ); @SafeVarargs static void close( BiFunction<String,Throwable,E> constructor, T... closeables );  }### Answer:
@Test public void closeAllSilently() throws Exception { IOUtils.closeAllSilently( goodClosable1, faultyClosable, goodClosable2 ); verify( goodClosable1 ).close(); verify( goodClosable2 ).close(); verify( faultyClosable ).close(); }