17 protected function setUp()
23 $xmlFiles = $fileIteratorFactory->create(
27 $fileResolverMock = $this->createMock(\
Magento\Framework\
Config\FileResolverInterface::class);
28 $fileResolverMock->expects($this->any())->method(
'get')->will($this->returnValue($xmlFiles));
29 $validationStateMock = $this->createMock(\
Magento\Framework\
Config\ValidationStateInterface::class);
30 $validationStateMock->expects($this->any())->method(
'isValidationRequired')->will($this->returnValue(
true));
31 $deploymentConfigMock = $this->createPartialMock(
32 \
Magento\Framework\
App\DeploymentConfig::class,
35 $deploymentConfigMock->expects($this->any())->method(
'getConfiguration')->will($this->returnValue([]));
40 'fileResolver' => $fileResolverMock,
41 'validationState' => $validationStateMock,
42 'deploymentConfig' => $deploymentConfigMock
49 $this->_model->read(
'global');
static getObjectManager()