Exemple #1
0
 /**
  * @covers OAuth\OAuth1\Service\FitBit::__construct
  * @covers OAuth\OAuth1\Service\FitBit::getAccessTokenEndpoint
  */
 public function testGetAccessTokenEndpoint()
 {
     $service = new FitBit($this->getMock('\\OAuth\\Common\\Consumer\\CredentialsInterface'), $this->getMock('\\Buzz\\Browser'), $this->getMock('\\OAuth\\Common\\Storage\\TokenStorageInterface'), $this->getMock('\\OAuth\\OAuth1\\Signature\\SignatureInterface'));
     $this->assertSame('https://api.fitbit.com/oauth/access_token', (string) $service->getAccessTokenEndpoint());
 }