@Test
  public void testCacheDefinedAsNestedComplexTypeLatest() throws Exception {
    Document doc = loadSchema(CacheXml.LATEST_SCHEMA_LOCATION);
    final XPathContext xPathContext =
        new XPathContext(CacheElement.XSD_PREFIX, XMLConstants.W3C_XML_SCHEMA_NS_URI);
    final Node cacheType = XmlUtils.querySingleElement(doc.getFirstChild(),
        CacheElement.CACHE_TYPE_EMBEDDED, xPathContext);
    assertNotNull("Cache type is not embedded complexType.", cacheType);
  }
Asserts that Cache type is defined as an embedded ComplexType under an Element named "cache"
latest version. If this assertion fails it likely means that cache type is defined as a named
ComplexType or reference. Update code in CacheElement.buildElementMapCacheType to account for
this.

@since GemFire 8.1
geode-core/src/test/java/org/apache/geode/management/internal/configuration/domain/CacheElementJUnitTest.java