/** * @dataProvider cleanupDirExceptionDataProvider * @expectedException Magento_Exception */ public function testCleanupDirException($optionCode) { $this->_bootstrap->cleanupDir($optionCode); }