@Test
    void testNameParsing() {
        Element configRoot = getDocument(new StringReader("<config name=\"test.function-test\" version=\"1\">" +
                "<int_val>1</int_val> +" +
                "</config>"));
        ConfigDefinitionKey key = DomConfigPayloadBuilder.parseConfigName(configRoot);
        assertEquals("function-test", key.getName());
        assertEquals("test", key.getNamespace());
    }
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