private void executeNoLastResultFunction() {
    Throwable thrown = catchThrowable(() -> {
      TypedFunctionService
          .onRegion(getRegion())
          .withFilter(filter)
          .execute(new NoLastResultFunction())
          .getResult();
    });

    assertThat(thrown)
        .hasMessageContaining("did not send last result");
  }
Verify that AuthenticationRequiredException is not thrown when security-* properties are NOT
provided. We have to grep for this exception in logs for any occurrence.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/execute/DistributedRegionFunctionExecutionDUnitTest.java