Exemplo n.º 1
0
 public function testSupportsRetrievesEngineFromTheContainer()
 {
     $container = $this->getContainerMock(array('engine.first' => $this->getEngineMock('template.php', false), 'engine.second' => $this->getEngineMock('template.php', true)));
     $delegatingEngine = new DelegatingEngine($container, array('engine.first', 'engine.second'));
     $this->assertTrue($delegatingEngine->supports('template.php'));
 }