@Test
    void testGetEncoding() {
        XmlRenderer renderer = new XmlRenderer();
        renderer.init();
        assertEquals("utf-8", renderer.getEncoding());
    }
Test the XML renderer

@author Steinar Knutsen
@author bratseth
container-search/src/test/java/com/yahoo/search/rendering/XMLRendererTestCase.java