protected ComponentsConfig.Components getComponentInConfig(ComponentsConfig componentsConfig, String id) {
        for (ComponentsConfig.Components component : componentsConfig.components()) {
            if (component.id().equals(id))
                return component;
        }
        return null;
    }
Utility functions for testing the ContainerModelBuilder. Note that XML validation will
not be done when using this class

@author gjoranv
config-model/src/test/java/com/yahoo/vespa/model/container/xml/ContainerModelBuilderTestBase.java