public static String methodWithReturn() {
    return "The result is: " + System.currentTimeMillis();
  }
Unit tests for {@link MethodInvoker}. Extracted from {@link MethodInvoker}.
geode-dunit/src/test/java/org/apache/geode/test/dunit/internal/MethodInvokerTest.java