ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ConstantTest.php
Go to the documentation of this file.
1
<?
php
2
3
/*
4
* This file is part of Twig.
5
*
6
* (c) Fabien Potencier
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
class
Twig_Tests_Grammar_ConstantTest
extends
PHPUnit_Framework_TestCase
13
{
14
public
function
testMagicToString
()
15
{
16
$grammar =
new
Twig_Extensions_Grammar_Constant
(
'foo'
);
17
$this->assertEquals(
'foo'
, (
string
) $grammar);
18
}
19
}
PHPUnit_Framework_TestCase
Twig_Tests_Grammar_ConstantTest
Definition:
ConstantTest.php:12
Twig_Extensions_Grammar_Constant
Definition:
Constant.php:15
Twig_Tests_Grammar_ConstantTest\testMagicToString
testMagicToString()
Definition:
ConstantTest.php:14
php
libs
composer
vendor
twig
extensions
test
Twig
Tests
Grammar
ConstantTest.php
Generated on Thu Jan 30 2025 19:01:34 for ILIAS by
1.8.13 (using
Doxyfile
)