Пример #1
0
 /**
  * @return void
  */
 public function testFillByConfigurationArray()
 {
     $instance = new TemplatePaths(array(TemplatePaths::CONFIG_TEMPLATEROOTPATHS => array('Resources/Private/Templates/'), TemplatePaths::CONFIG_LAYOUTROOTPATHS => array('Resources/Private/Layouts/'), TemplatePaths::CONFIG_PARTIALROOTPATHS => array('Resources/Private/Partials/'), TemplatePaths::CONFIG_FORMAT => 'xml'));
     $this->assertNotEmpty($instance->getTemplateRootPaths());
 }