/** * @dataProvider requestPathExceptionDataProvider * @expectedException \Magento\Framework\Exception\LocalizedException */ public function testValidateRequestPathException($requestPath) { $this->_helper->validateRequestPath($requestPath); }