ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
NumberTest.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_NumberTest
extends
PHPUnit_Framework_TestCase
13
{
14
public
function
testMagicToString
()
15
{
16
$grammar =
new
Twig_Extensions_Grammar_Number
(
'foo'
);
17
$this->assertEquals(
'<foo:number>'
, (
string
) $grammar);
18
}
19
}
Twig_Extensions_Grammar_Number
Definition:
Number.php:15
PHPUnit_Framework_TestCase
Twig_Tests_Grammar_NumberTest\testMagicToString
testMagicToString()
Definition:
NumberTest.php:14
php
Twig_Tests_Grammar_NumberTest
Definition:
NumberTest.php:12
libs
composer
vendor
twig
extensions
test
Twig
Tests
Grammar
NumberTest.php
Generated on Thu Jan 30 2025 19:01:34 for ILIAS by
1.8.13 (using
Doxyfile
)