@Before
  public void setUp() {
    Properties config = new Properties();
    config.setProperty(LOCATORS, "");

    cache = (InternalCache) new CacheFactory(config).create();

    Logger coreLogger = (Logger) LogManager.getRootLogger();
    LoggerContext context = coreLogger.getContext();

    configuration = context.getConfiguration();
  }
Validates the default appenders that should exist when a {@code Cache} is created.
geode-log4j/src/integrationTest/java/org/apache/geode/logging/log4j/internal/impl/CacheWithDefaultAppendersIntegrationTest.java