/** * @param string $groupHtml * @param \Magento\Framework\View\Asset\PropertyGroup $group * @return string */ protected function processIeCondition($groupHtml, $group) { $ieCondition = $group->getProperty('ie_condition'); if (!empty($ieCondition)) { $groupHtml = '<!--[if ' . $ieCondition . ']>' . "\n" . $groupHtml . '<![endif]-->' . "\n"; } return $groupHtml; }
public function testGetProperty() { $this->assertEquals('test_value', $this->_object->getProperty('test_property')); $this->assertNull($this->_object->getProperty('non_existing_property')); }