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