/**
  * Check whether html tags are using in attribute value.
  * Checked tag structure <b><i>atttribute_default_value</p></i></b>
  *
  * @param InjectableFixture $product
  * @param CatalogProductAttribute $attribute
  * @param CatalogProductView $catalogProductView
  * @param BrowserInterface $browser
  * @throws \Exception
  * @return void
  */
 public function processAssert(InjectableFixture $product, CatalogProductAttribute $attribute, CatalogProductView $catalogProductView, BrowserInterface $browser)
 {
     $browser->open($_ENV['app_frontend_url'] . $product->getUrlKey() . '.html');
     \PHPUnit_Framework_Assert::assertTrue($catalogProductView->getAdditionalInformationBlock()->hasHtmlTagInAttributeValue($attribute), 'Attribute is not visible with HTML tags on frontend.');
 }
 /**
  * Check whether the attribute is visible on the frontend.
  *
  * @param InjectableFixture $product
  * @param CatalogProductAttribute $attribute
  * @param CatalogProductView $catalogProductView
  * @param BrowserInterface $browser
  * @return void
  */
 public function processAssert(InjectableFixture $product, CatalogProductAttribute $attribute, CatalogProductView $catalogProductView, BrowserInterface $browser)
 {
     $browser->open($_ENV['app_frontend_url'] . $product->getUrlKey() . '.html');
     \PHPUnit_Framework_Assert::assertTrue(in_array($attribute->getFrontendLabel(), $catalogProductView->getAdditionalInformationBlock()->getAttributeLabels()), 'Attribute is not visible on product page in additional info block on frontend.');
 }