@Test
    public void no_default_ports_are_enabled_when_using_http() throws Exception {
        String xml = "<container version=\"1.0\">" + //
                "<http>" + //
                "<server port=\"4000\" id=\"server1\" />" + //
                "</http>" + //
                "</container>";

        StandaloneContainer.withContainerModel(xml, root -> {
            AbstractService container = (AbstractService) root.getConfigProducer("container/standalone").get();
            System.out.println("portCnt: " + container.getPortCount());
            System.out.println("numPorts: " + container.getNumPortsAllocated());
            assertEquals(1, container.getNumPortsAllocated());
            return null;
        });
    }
@author Tony Vaagenes
@author gjoranv
@author ollivir
standalone-container/src/test/java/com/yahoo/container/standalone/StandaloneContainerTest.java