public function testGraphApiVersionWillFallbackToDefault()
 {
     $graphVersion = \League\OAuth2\Client\Provider\Facebook::DEFAULT_GRAPH_VERSION;
     $fooToken = new \League\OAuth2\Client\Token\AccessToken(['access_token' => 'foo_token']);
     $urlAuthorize = $this->provider->urlAuthorize();
     $urlAccessToken = $this->provider->urlAccessToken();
     $urlUserDetails = parse_url($this->provider->urlUserDetails($fooToken), PHP_URL_PATH);
     $this->assertEquals('https://www.facebook.com/' . $graphVersion . '/dialog/oauth', $urlAuthorize);
     $this->assertEquals('https://graph.facebook.com/' . $graphVersion . '/oauth/access_token', $urlAccessToken);
     $this->assertEquals('/' . $graphVersion . '/me', $urlUserDetails);
 }