### Question:
Unchecked { public static <T> Supplier<T> supplier(CheckedSupplier<T> checkedSupplier) { return () -> { try { return checkedSupplier.get(); } catch (Throwable t) { throw Sneaky.throwAnyway(t); } }; } private  Unchecked(); static Consumer<T> consumer(CheckedConsumer<T> checkedConsumer); @SuppressWarnings("PMD.DoNotUseThreads") static Runnable runnable(CheckedRunnable checkedRunnable); static SneakyCallable<T> callable(CheckedCallable<T> checkedCallable); static Supplier<T> supplier(CheckedSupplier<T> checkedSupplier); static Function<X, T> function(CheckedFunction<X, T> checkedFunction); static BiFunction<X, Y, T> biFunction(CheckedBiFunction<X, Y, T> checkedBiFunction); static BiConsumer<X, Y> biConsumer(CheckedBiConsumer<X, Y> checkedBiConsumer);  }### Answer:
@Test public void hidesThrowsClause() { CheckedSupplier<Void> throwing = UncheckedTest::failToGet; assertThatThrownBy(throwing::get) .describedAs("throws a checked exception") .isInstanceOf(SQLException.class); Supplier<Void> muted = Unchecked.supplier(throwing); assertThat(muted) .describedAs("does not declare a checked exception") .isInstanceOf(Supplier.class); assertThatThrownBy(muted::get) .describedAs("still throws a checked exception") .isInstanceOf(SQLException.class); }