@Override
    public void remove() {
        super.remove();
        if (hostResource != null)
            hostResource.deallocateService(this);
    }
Only used for testing. Stay away.

@param name the name of this service.
config-model/src/main/java/com/yahoo/vespa/model/AbstractService.java