Esempio n. 1
0
 /**
  * Test for get method with default scope
  *
  * @dataProvider providerGet
  * @param string $filename
  * @param array $fileList
  */
 public function testGetDefault($filename, $fileList)
 {
     $scope = 'some_scope';
     $this->moduleReader->expects($this->once())->method('getConfigurationFiles')->with($scope . '/' . $filename)->will($this->returnValue($fileList));
     $this->assertEquals($fileList, $this->model->get($filename, $scope));
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function get($filename, $scope)
 {
     return $this->merge(parent::get($filename, $scope), $this->getIntegrationTestConfigFiles());
 }