public function setUp()
 {
     parent::setUp();
     $this->tokenSession = new Session(new MockArraySessionStorage());
     $this->tokenStore = new TokenStore($this->tokenSession);
     $this->session = $this->createSession();
 }
 public function setUp()
 {
     parent::setUp();
     $this->session = new Session(new MockArraySessionStorage());
     $this->session->set(StateStore::KEY_STATE, 'ABC123');
     $this->tokenStore = new TokenStore($this->session);
     $this->stateStore = new StateStore($this->session);
     $this->oauthSession = $this->createSession();
 }