diff options
Diffstat (limited to 'vendor/twig/twig/test/Twig/Tests/AutoloaderTest.php')
-rw-r--r-- | vendor/twig/twig/test/Twig/Tests/AutoloaderTest.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/vendor/twig/twig/test/Twig/Tests/AutoloaderTest.php b/vendor/twig/twig/test/Twig/Tests/AutoloaderTest.php deleted file mode 100644 index c8b7999a..00000000 --- a/vendor/twig/twig/test/Twig/Tests/AutoloaderTest.php +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
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_AutoloaderTest extends PHPUnit_Framework_TestCase | ||
13 | { | ||
14 | public function testAutoload() | ||
15 | { | ||
16 | $this->assertFalse(class_exists('FooBarFoo'), '->autoload() does not try to load classes that does not begin with Twig'); | ||
17 | |||
18 | $autoloader = new Twig_Autoloader(); | ||
19 | $this->assertNull($autoloader->autoload('Foo'), '->autoload() returns false if it is not able to load a class'); | ||
20 | } | ||
21 | } | ||