public function setup()
{
$this->requestStack = new RequestStack();
$this->session = $this->prophesize('Symfony\\Component\\HttpFoundation\\Session\\SessionInterface');
$this->provider = $this->prophesize('League\\OAuth2\\Client\\Provider\\AbstractProvider');
$this->request = new Request();
$this->request->setSession($this->session->reveal());
$this->requestStack->push($this->request);
}