private static boolean longRunningWorkWithResult() {
    // perform some task that takes a while
    return true;
  }
{@link VM#invokeAsync} uses {@link AsyncInvocation} which wraps underlying Exception in
AssertionError.
geode-dunit/src/distributedTest/java/org/apache/geode/test/dunit/examples/AsyncInvokeCallableExampleTest.java