self::TEST_KEY]) ); COption::SetOptionString( RetailCrmCollector::$MODULE_ID, RetailCrmCollector::$CRM_COLL, 'Y' ); } public function testAdd() { RetailCrmCollector::add(); $strings = \Bitrix\Main\Page\Asset::getInstance()->getStrings(); $this->assertStringContainsString(self::TEST_KEY, $strings); $this->assertStringContainsString('customerId', $strings); } }