/** * @expectedException ValidationException * @covers DfpUser::ValidateUser */ public function testValidateUserWithDefaultUserAgentFailsWithValidationException() { $user = new DfpUser($this->authIniFilePath, 'INSERT_APPLICATION_NAME_HERE', 'networkCode', null, $this->mockOAuth2Credential); $user->ValidateUser(); }