@Test
  public void testEndElementContentHandlerStringString() throws SAXException {
    final AtomicReference<String> uriRef = new AtomicReference<>();
    final AtomicReference<String> localnameRef = new AtomicReference<>();
    final AtomicReference<String> qNameRef = new AtomicReference<>();

    final ContentHandler contentHandler = new MockContentHandler() {
      @Override
      public void endElement(String uri, String localName, String qName) throws SAXException {
        uriRef.set(uri);
        localnameRef.set(localName);
        qNameRef.set(qName);
      }
    };

    XmlGeneratorUtils.endElement(contentHandler, "prefix", "localname");
    assertEquals("localname", localnameRef.get());
    assertEquals("prefix:localname", qNameRef.get());
    assertEquals(NULL_NS_URI, uriRef.get());
  }
Test method for {@link XmlGeneratorUtils#endElement(ContentHandler, String, String)}.
geode-core/src/test/java/org/apache/geode/internal/cache/xmlcache/XmlGeneratorUtilsJUnitTest.java