GetScopes() public method

Gets OAuth2 scopes.
public GetScopes ( ) : array
return array the list of OAuth2 scopes
 /**
  * Tests that additional scopes are added into AdWordsUser object.
  *
  * @covers AdWordsUser::__construct
  */
 public function testOAuth2AdditionalScopes()
 {
     $user = new AdWordsUser($this->authIniFilePath, 'devToken', null, null, null, $this->mockOAuth2Credential);
     $this->assertEquals($user->GetScopes(), array('TEST_SCOPE1', 'TEST_SCOPE2', AdWordsUser::OAUTH2_SCOPE));
 }