@Test
  public void loggerInfoMessageIsSuppressed() {
    logger.info(infoMessage);

    assertThat(findLogEventContaining(infoMessage)).as(logEventContaining(infoMessage)).isNull();
  }
Integration tests for {@link Cache} with custom {@code log4j2.xml}.
geode-log4j/src/integrationTest/java/org/apache/geode/logging/log4j/internal/impl/CacheWithCustomLogConfigIntegrationTest.java