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()); }
public function testGetContainer() { $result = $this->app->getContainer(); $this->assertInstanceOf('\\Symfony\\Component\\DependencyInjection\\Container', $result); }