/** * Tests that the AdWordsUser object recognizes the settings of including * user agents of ads utilities into the SOAP headers. * * @covers AdsUser::getIsIncludeUtilitiesInUserAgent * @covers AdsUser::setIncludeUtilitiesInUserAgent * @covers AdWordsUser::__construct */ public function testIncludeUtiliesInUserAgent() { $user = new AdWordsUser($this->authIniFilePath, 'devToken', null, null, null, $this->mockOAuth2Credential); $user->setIncludeUtilitiesInUserAgent('true'); $this->assertEquals($user->getIsIncludeUtilitiesInUserAgent(), 'true'); }