13 public function testConfiguration()
20 $cacheState->setEnabled(\
Magento\Framework\
App\
Cache\Type\Config::TYPE_IDENTIFIER,
false);
29 $configMock = $this->createPartialMock(
31 [
'getConfigurationFiles',
'getModuleDir']
33 $configMock->expects($this->any())->method(
'getConfigurationFiles')->will($this->returnValue(
$fileList));
42 $this->returnValue($modulesDir->getAbsolutePath() .
'/app/code/Magento/Backend/etc')
47 [
'moduleReader' => $configMock,
'runtimeValidation' =>
true]
50 $this->fail($exp->getMessage());
static getObjectManager()