public List<HostSpec> prepare(ApplicationId application, ClusterSpec cluster, Capacity capacity) {
        List<HostSpec> hosts1 = provisioner.prepare(application, cluster, capacity, provisionLogger);
        List<HostSpec> hosts2 = provisioner.prepare(application, cluster, capacity, provisionLogger);
        assertEquals("Prepare is idempotent", hosts1, hosts2);
        return hosts1;
    }
A test utility for provisioning tests.

@author bratseth
node-repository/src/test/java/com/yahoo/vespa/hosted/provision/provisioning/ProvisioningTester.java