protected function setTokenFromCookiesExpectation($times = 1) { $this->request->shouldReceive('setTokenFromCookies')->times($times)->andReturnSelf(); }