private Document loadSchema(final String schemaLocation) throws Exception {
    final CacheXmlParser entityResolver = new CacheXmlParser();
    final XMLReader xmlReader = XMLReaderFactory.createXMLReader();
    xmlReader.setEntityResolver(entityResolver);

    return XmlUtils.getDocumentBuilder()
        .parse(entityResolver.resolveEntity(null, schemaLocation).getByteStream());
  }
Test cases for {@link CacheElement}.

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