private DeployTester createTester(List<Host> hosts,
                                      List<ModelFactory> modelFactories,
                                      Zone zone,
                                      Clock clock,
                                      ConfigConvergenceChecker configConvergenceChecker) {
        return new DeployTester.Builder(temporaryFolder)
                .modelFactories(modelFactories)
                .clock(clock)
                .zone(zone)
                .hostProvisioner(new InMemoryProvisioner(new Hosts(hosts), true, false))
                .configConvergenceChecker(configConvergenceChecker)
                .hostedConfigserverConfig(zone)
                .build();
    }
Create the given number of hosts using the supplied versions--the last version is repeated as needed.
configserver/src/test/java/com/yahoo/vespa/config/server/deploy/HostedDeployTest.java