@BeforeClass
  public static void beforeClass() {
    cache = new CacheFactory().set(MCAST_PORT, "0").create();
    xPathContext.addNamespace(CacheXml.PREFIX, CacheXml.GEODE_NAMESPACE);
    xPathContext.addNamespace(TEST_PREFIX, TEST_NAMESPACE);
  }
Unit tests for {@link XmlUtils#addNewNode(Document, XmlEntity)} and
{@link XmlUtils#deleteNode(Document, XmlEntity)}. Simulates the
{@link InternalConfigurationPersistenceService} method of extracting {@link XmlEntity} from the
new
config
and applying it to the current shared config.


@since GemFire 8.1
geode-core/src/integrationTest/java/org/apache/geode/management/internal/configuration/utils/XmlUtilsAddNewNodeJUnitTest.java