protected function resetCallState()
    {
        $this->call = null;
        $this->method = null;
        $this->withMedia = null;
        $this->getParams = array();
        $this->postParams = array();
        $this->headers = null;
    }