@Test
    void testerContainer() {
        createModelWithTesterNodes("<nodes count='1' docker-image='foo/bar/baz'><resources vcpu='0.1' memory='1Gb' disk='1Gb'/></nodes>");

        assertEquals("In container cluster 'default': tester cannot run on more than 1 node, but 2 nodes were specified",
                     Exceptions.toMessageString(assertThrows(IllegalArgumentException.class,
                                                             () -> createModelWithTesterNodes("<nodes count='2'/>"))));

        assertEquals("In container cluster 'default': tester resources must be absolute, but min and max resources differ: specification of dedicated " +
                     "min 1 nodes with [vcpu: 0.0, memory: 1.0 Gb, disk: 0.0 Gb, bandwidth: 0.3 Gbps, architecture: any] " +
                     "max 1 nodes with [vcpu: 0.0, memory: 2.0 Gb, disk: 0.0 Gb, bandwidth: 0.3 Gbps, architecture: any]",
                     Exceptions.toMessageString(assertThrows(IllegalArgumentException.class,
                                                             () -> createModelWithTesterNodes("<nodes><resources memory='[1Gb, 2Gb]'/></nodes>"))));
    }
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