public static NodeFailTester withOneUndeployedApplication(Capacity capacity, ClusterSpec spec) {
        NodeFailTester tester = new NodeFailTester();
        List<MockDeployer.ApplicationContext> apps = List.of(new MockDeployer.ApplicationContext(app1, spec, capacity));
        tester.initializeMaintainers(apps);
        return tester;
    }
Create hostCount hosts, one app with containerCount containers, and one app with contentCount content nodes.
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/maintenance/NodeFailTester.java