public function setResponse(CNabuHTTPResponse $nb_response = null) : CNabuProviderInterfaceFactoryAdapter
    {
        if ($this->discoverInterface()) {
            $this->nb_interface->setResponse($nb_response);
        } else {
            throw new ENabuProviderException(ENabuProviderException::ERROR_INTERFACE_NOT_SETTED);
        }

        return $this;
    }