@Test
  public void testEmptyCacheXmlFile() throws Exception {
    Properties config = createLonerConfig();
    config.setProperty(CACHE_XML_FILE, "");

    DistributedSystem system = DistributedSystem.connect(config);

    assertThatThrownBy(() -> CacheFactory.getInstance(system)).isInstanceOf(CancelException.class);

    // now make sure we can create the cache
    Cache cache = CacheFactory.create(system);

    assertThat(cache).isNotNull();
    assertThat(cache.isClosed()).isFalse();
  }
Tests that configuring a distributed system with a cache-xml-file of "" does not initialize a
cache.

Verifies: "Allow the cache-xml-file specification to be an empty string"

@since GemFire 4.0
geode-core/src/distributedTest/java/org/apache/geode/distributed/DistributedSystemDUnitTest.java