Exemplo n.º 1
0
 public function testCachingDisabled()
 {
     $app = new App('symlex_test_nocache', __DIR__ . '/App', false);
     $result = $app->getContainer();
     $this->assertInstanceOf('\\Symfony\\Component\\DependencyInjection\\Container', $result);
     $this->assertFileNotExists($app->getContainerCacheFilename());
 }
Exemplo n.º 2
0
 public function testGetContainer()
 {
     $result = $this->app->getContainer();
     $this->assertInstanceOf('\\Symfony\\Component\\DependencyInjection\\Container', $result);
 }