Exemple #1
0
 /**
  * @runInSeparateProcess
  */
 public function testSaveToken()
 {
     $this->assertNull($this->cookie->saveToken('token value'));
 }
Exemple #2
0
 /**
  * Set token.
  *
  * @param string $token
  * @return null
  */
 public function setToken($token)
 {
     $cookie = new Cookies($this->client);
     $cookie->saveToken($token);
     $this->client->setToken($token);
 }