public static List<ContainerModel> createModel(MockRoot root, DeployState deployState, VespaModel vespaModel, Element... containerElems) {
        List<ContainerModel> containerModels = new ArrayList<>();
        for (Element containerElem : containerElems) {
            ContainerModel model = new ContainerModelBuilder(false, ContainerModelBuilder.Networking.enable)
                                           .build(deployState, vespaModel, null, root, containerElem);
            ContainerCluster<?> cluster = model.getCluster();
            generateDefaultSearchChains(cluster);
            containerModels.add(model);
        }
        root.freezeModelTopology();
        return containerModels;
    }
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