@Test
    void put_to_inner_map() {
        Reader xmlConfig = new StringReader("<?xml version=\"1.0\" encoding=\"utf-8\" ?>" +
                "<config name=\"test.foobar\">" +
                "  <innermap>" +
                "    <item key=\"bar\">" +
                "      <foo>baz</foo>" +
                "    </item>" +
                "    <item key=\"foo\">" +
                "      <foo>bar</foo>" +
                "    </item>" +
                "  </innermap>" +
                "</config>");
        assertPayload("{\"innermap\":{\"bar\":{\"foo\":\"baz\"},\"foo\":{\"foo\":\"bar\"}}}", getDocument(xmlConfig));
    }
Tests for the {@link com.yahoo.vespa.model.builder.xml.dom.DomConfigPayloadBuilder} class.

@author gjoranv
@author Ulf Lilleengen
config-model/src/test/java/com/yahoo/vespa/model/builder/xml/dom/DomConfigPayloadBuilderTest.java