/**
  * @covers Crockett95\ProjectPlace\OAuthService::__construct
  * @covers Crockett95\ProjectPlace\OAuthService::getRequestTokenEndpoint
  * @covers Crockett95\ProjectPlace\OAuthService::parseRequestTokenResponse
  * @covers Crockett95\ProjectPlace\OAuthService::parseAccessTokenResponse
  */
 public function testParseRequestTokenResponseValid()
 {
     $client = $this->getMock('\\OAuth\\Common\\Http\\Client\\ClientInterface');
     $client->expects($this->once())->method('retrieveResponse')->will($this->returnValue('oauth_callback_confirmed=true&oauth_token=foo&oauth_token_secret=bar'));
     $service = new OAuthService($this->getMock('\\OAuth\\Common\\Consumer\\CredentialsInterface'), $client, $this->getMock('\\OAuth\\Common\\Storage\\TokenStorageInterface'), $this->getMock('\\OAuth\\OAuth1\\Signature\\SignatureInterface'));
     $this->assertInstanceOf('\\OAuth\\OAuth1\\Token\\StdOAuth1Token', $service->requestRequestToken());
 }