/** * @covers Crockett95\ProjectPlace\OAuthService::__construct * @covers Crockett95\ProjectPlace\OAuthService::getRequestTokenEndpoint */ public function testGetRequestTokenEndpoint() { $service = new OAuthService($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.projectplace.com/initiate', $service->getRequestTokenEndpoint()->getAbsoluteUri()); }