@Override
    public boolean deprovision(Node host) {
        if (behaviour(Behaviour.failDeprovisioning)) throw new FatalProvisioningException("Failed to deprovision node");
        provisionedHosts.removeIf(provisionedHost -> provisionedHost.hostHostname().equals(host.hostname()));
        deprovisionedHosts++;
        return true;
    }
Returns whether given behaviour is active for this invocation
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/testutils/MockHostProvisioner.java