示例#1
0
 public function testGetHeadersWithOAuthParameters()
 {
     $this->request->setOAuthParameter('oauth_token', 'oauth_token');
     $this->assertFalse($this->request->hasHeaders());
     $this->assertTrue($this->request->hasOAuthParameter('oauth_token'));
     $this->assertEmpty($this->request->getHeaders());
 }