public ConfigPayloadBuilder build(Element configE) {
        parseConfigName(configE);

        ConfigPayloadBuilder payloadBuilder = new ConfigPayloadBuilder(configDefinition);
        for (Element child : XML.getChildren(configE)) {
            parseElement(child, payloadBuilder, null);
        }
        return payloadBuilder;
    }
@Test
    void require_that_exceptions_are_issued() throws FileNotFoundException {
        assertThrows(IllegalArgumentException.class, () -> {
            Element configRoot = getDocument(
                    "<config name=\"test.simpletypes\">" +
                            "<longval>invalid</longval>" +
                            "</config>");
            DefParser defParser = new DefParser("simpletypes",
                    new FileReader("src/test/resources/configdefinitions/test.simpletypes.def"));
            ConfigDefinition def = ConfigDefinitionBuilder.createConfigDefinition(defParser.getTree());
            ConfigPayloadBuilder unused =  new DomConfigPayloadBuilder(def).build(configRoot);
        });
    }