Esempio n. 1
0
 /**
  * @covers OAuth\OAuth1\Service\OpenBankProject::__construct
  * @covers OAuth\OAuth1\Service\OpenBankProject::getAuthorizationEndpoint
  */
 public function testGetAuthorizationEndpoint()
 {
     $service = new OpenBankProject($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://apisandbox.openbankproject.com/oauth/authorize', $service->getAuthorizationEndpoint()->getAbsoluteUri());
 }