/** * @test */ public function shouldSetAndGetOAuthTokens() { $options = ['OAuthSecret' => $this->OAuthSecret]; $client = new Client($this->APIKey, $options); $client->setToken($this->oauth_token, $this->oauth_token_secret); list($oauth_token, $oauth_token_secret) = $client->getToken(); $this->assertEquals($this->oauth_token, $oauth_token); $this->assertEquals($this->oauth_token_secret, $oauth_token_secret); }