/** * @dataProvider requestPathExceptionDataProvider * @expectedException \Magento\Framework\Exception\LocalizedException */ public function testValidateSuffixException($suffix) { $this->_helper->validateSuffix($suffix); }
/** * Check url rewrite suffix - whether we can support it * * @return $this */ public function beforeSave() { $this->urlRewriteHelper->validateSuffix($this->getValue()); return $this; }
/** * Check url rewrite suffix - whether we can support it * * @return $this */ protected function _beforeSave() { $this->_coreUrlRewrite->validateSuffix($this->getValue()); return $this; }