ValidateUser() public method

Validates the user and throws a validation error if there are any errors.
public ValidateUser ( )
 /**
  * @expectedException ValidationException
  * @covers DfpUser::ValidateUser
  */
 public function testValidateUserWithDefaultUserAgentFailsWithValidationException()
 {
     $user = new DfpUser($this->authIniFilePath, 'INSERT_APPLICATION_NAME_HERE', 'networkCode', null, $this->mockOAuth2Credential);
     $user->ValidateUser();
 }