@Test
    void require_that_item_is_reserved_in_root() {
        assertThrows(IllegalArgumentException.class, () -> {
            Element configRoot = getDocument(
                    "<config name=\"test.arraytypes\" version=\"1\">" +
                            "    <item>13</item>" +
                            "</config>");
            new DomConfigPayloadBuilder(null).build(configRoot);
        });
    }
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