@Test
    public void shouldNoReWrapInRuntimeIfSupplierThrows() {
        final Exception t = new RuntimeException();
        try {
            FunctionUtils.wrapSupplier(() -> {
                throw t;
            }).get();
        } catch (Exception ex) {
            assertThat(ex, instanceOf(RuntimeException.class));
            assertNull(ex.getCause());
        }
    }
@author Stephen Mallette (http://stephen.genoprime.com)
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/util/function/FunctionUtilsTest.java