public int decideSize(Capacity capacity, ApplicationId application) {
        return nodeRepository.capacityPoliciesFor(application).applyOn(capacity, false).minResources().nodes();
    }
A test utility for provisioning tests.

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