private void activate(List<HostSpec> hosts, ApplicationId application, NodeRepositoryProvisioner provisioner) {
        try (var lock = provisioner.lock(application)) {
            NestedTransaction transaction = new NestedTransaction();
            provisioner.activate(hosts, new ActivationContext(0, false), new ApplicationTransaction(lock, transaction));
            transaction.commit();
        }
    }
Constructor

@param flavors flavors to have in node repo
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/testutils/MockNodeRepository.java