]>
Commit | Line | Data |
---|---|---|
4f5b44bd NL |
1 | <?php |
2 | ||
3 | /* | |
4 | * This file is part of the Symfony package. | |
5 | * | |
6 | * (c) Fabien Potencier <fabien@symfony.com> | |
7 | * | |
8 | * For the full copyright and license information, please view the LICENSE | |
9 | * file that was distributed with this source code. | |
10 | */ | |
11 | ||
12 | namespace Symfony\Bridge\Twig\Tests\NodeVisitor; | |
13 | ||
14 | use Symfony\Bridge\Twig\NodeVisitor\Scope; | |
15 | use Symfony\Bridge\Twig\Tests\TestCase; | |
16 | ||
17 | class ScopeTest extends TestCase | |
18 | { | |
19 | public function testScopeInitiation() | |
20 | { | |
21 | $scope = new Scope(); | |
22 | $scope->enter(); | |
23 | $this->assertNull($scope->get('test')); | |
24 | } | |
25 | } |