public static <T, E extends Exception> Supplier<T> rethrowSupplier(SupplierWithExceptions<T, E> function) throws E {
        return () -> {
            try {
                return function.get();
            } catch (Exception exception) {
                throwAsUnchecked(exception);
                return null;
            }
        };
    }
@Test
    public void test_Supplier_with_checked_exceptions() throws UnsupportedEncodingException {
        Collector.of(
                rethrowSupplier(() -> new StringJoiner(new String(new byte[]{77, 97, 114, 107}, "UTF-8"))),
                StringJoiner::add, StringJoiner::merge, StringJoiner::toString);
    }