public MockHostProvisioner addEvent(HostEvent event) {
        hostEvents.add(event);
        return this;
    }
Sets the host flavor to use to the flavor matching these resources exactly, if any.
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/testutils/MockHostProvisioner.java