@Test
    void cloud_account_without_nodes_tag() throws Exception {
        String servicesXml = "<container id='default' version='1.0' />";
        ApplicationPackage applicationPackage = new MockApplicationPackage.Builder().withServices(servicesXml).build();
        CloudAccount cloudAccount = CloudAccount.from("000000000000");
        InMemoryProvisioner provisioner = new InMemoryProvisioner(true, false, "host1.yahoo.com", "host2.yahoo.com");
        VespaModel model = new VespaModel(new NullConfigModelRegistry(), new DeployState.Builder()
                .modelHostProvisioner(provisioner)
                .provisioned(provisioner.startProvisionedRecording())
                .applicationPackage(applicationPackage)
                .endpoints(Set.of(new ContainerEndpoint("default", ApplicationClusterEndpoint.Scope.zone, List.of("default.example.com"))))
                .properties(new TestProperties().setMultitenant(true)
                                                .setHostedVespa(true)
                                                .setCloudAccount(cloudAccount))
                .build());
        assertEquals(2, model.hostSystem().getHosts().size());
        assertEquals(List.of(cloudAccount), model.provisioned().capacities().values()
                                                 .stream()
                                                 .map(capacity -> capacity.cloudAccount().get())
                                                 .toList());
    }
Tests for "core functionality" of the container model, e.g. ports, or the 'components' and 'bundles' configs.

Before adding a new test to this class, check if the test fits into one of the other existing subclasses
of {@link ContainerModelBuilderTestBase}. If not, consider creating a new subclass.

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