@Test
  public void showLogIsNeverEmpty() {
    createCacheWithLogFile();

    assertThat(memberMXBean.showLog(-20)).isNotEmpty();
    assertThat(memberMXBean.showLog(0)).isNotEmpty();
    assertThat(memberMXBean.showLog(DEFAULT_SHOW_LOG_LINES)).isNotEmpty();
    assertThat(memberMXBean.showLog(MAX_SHOW_LOG_LINES)).isNotEmpty();
  }
Integration tests for {@link MemberMXBean} with just a {@link Cache}.
geode-core/src/integrationTest/java/org/apache/geode/management/MemberMXBeanShowLogIntegrationTest.java