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->assertContains(self::TEST_KEY, $strings); $this->assertContains('customerId', $strings); } }