public function setUp() { $this->response = new ResponseMock(); $this->auth = new DigestAuth(); $this->auth->setRealm(self::REALM); $this->auth->setHTTPResponse($this->response); }