예제 #1
0
 /**
  * @covers OAuth\OAuth1\Service\Yahoo::__construct
  * @covers OAuth\OAuth1\Service\Yahoo::getRequestTokenEndpoint
  */
 public function testGetRequestTokenEndpoint()
 {
     $service = new Yahoo($this->getMock('\\OAuth\\Common\\Consumer\\CredentialsInterface'), $this->getMock('\\OAuth\\Common\\Http\\Client\\ClientInterface'), $this->getMock('\\OAuth\\Common\\Storage\\TokenStorageInterface'), $this->getMock('\\OAuth\\OAuth1\\Signature\\SignatureInterface'));
     $this->assertSame('https://api.login.yahoo.com/oauth/v2/get_request_token', $service->getRequestTokenEndpoint()->getAbsoluteUri());
 }