# cookiebot/4.7.4/tests/integration/addons/Test_Google_Site_Kit.php

Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA &amp; Google Consent Mode, version 4.7.4. 24 lines.

- Page: https://pluginprobe.com/plugins/cookiebot/4.7.4/code/tests/integration/addons/Test_Google_Site_Kit.php
- Raw: https://pluginprobe.com/plugins/cookiebot/4.7.4/raw/tests/integration/addons/Test_Google_Site_Kit.php
- Modified: 2025-08-12T11:36:02+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/cookiebot/4.7.4/code/tests/integration/addons/Test_Google_Site_Kit.php#L10-L20`.

```php
<?php

namespace cybot\cookiebot\tests\integration\addons;

use cybot\cookiebot\addons\controller\addons\google_site_kit\Google_Site_Kit;
use PHPUnit\Framework\ExpectationFailedException;
use SebastianBergmann\RecursionContext\InvalidArgumentException;
use WP_UnitTestCase;

class Test_Google_Site_Kit extends WP_UnitTestCase {

	/**
	 * @covers \cybot\cookiebot\addons\controller\addons\google_site_kit\Google_Site_Kit
	 * @throws ExpectationFailedException
	 * @throws InvalidArgumentException
	 * @throws \Exception
	 */
	public function test_is_plugin_compatible() {
		$content = Google_Site_Kit::get_svn_file_content( 'includes/Modules/Analytics_4/Web_Tag.php' );

		$this->assertNotFalse( strpos( $content, "add_filter( 'script_loader_tag', \$this->get_method_proxy( 'filter_tag_output' ), 10, 2 );" ) );
	}
}

```
