assertTrue(Loader::includeModule("intaro.retailcrm")); } public function testGetImageUrl() { $test = new RetailCrmICML(); $result = $test->getImageUrl(1); if (!empty($result)) { $this->assertIsString($result); $this->assertEquals("/upload/iblock/c44/test.jpg", $result); } else { $this->assertEmpty($result); } } }