@Test
  public void showLogWithoutLogFile() {
    createCacheWithoutLogFile();

    assertThat(memberMXBean.showLog(0)).isEqualTo(
        "No log file was specified in the configuration, messages will be directed to stdout.");
  }
Integration tests for {@link MemberMXBean} with just a {@link Cache}.
geode-core/src/integrationTest/java/org/apache/geode/management/MemberMXBeanShowLogIntegrationTest.java