@Test
  public void testBug40714() throws Exception {
    createDistributedSystemAndRegisterFunction();
    member1.invoke(MemberFunctionExecutionDUnitTest::registerFunction);
    member2.invoke(MemberFunctionExecutionDUnitTest::registerFunction);
    member3.invoke(MemberFunctionExecutionDUnitTest::registerFunction);
    member4.invoke(MemberFunctionExecutionDUnitTest::registerFunction);
    member1.invoke(
        () -> MemberFunctionExecutionDUnitTest.excuteOnMembers_InlineFunction(5));
  }
Test the execution of function on all memebers haveResults = true
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/execute/MemberFunctionExecutionDUnitTest.java