Esempio n. 1
0
 /**
  * @param array $configsArray The new internal configurations
  */
 public function configureForTesting(array $configsArray)
 {
     $this->configurations = $configsArray;
     // Some rigmarole for any methods using updateRuntimeConfiguration
     $pathField = Reflection_Helper::get_property('Bart\\Configuration\\Configuration', 'filePath');
     $pathField->setValue($this, '');
     TestConfigurationsHelper::setConfigCache($configsArray);
 }