public function testGetAuthorizeURL() { $expectedUrl = $this->application->getOAuthClient()->getAuthorizeURL(); $this->assertEquals($expectedUrl, $this->application->getAuthorizeURL()); $this->assertEquals($expectedUrl . '?oauth_token=test', $this->application->getAuthorizeURL('test')); }