diff --git a/src/Symfony/Component/ClassLoader/Tests/ClassCollectionLoaderTest.php b/src/Symfony/Component/ClassLoader/Tests/ClassCollectionLoaderTest.php index 90eca1deda..04896fca02 100644 --- a/src/Symfony/Component/ClassLoader/Tests/ClassCollectionLoaderTest.php +++ b/src/Symfony/Component/ClassLoader/Tests/ClassCollectionLoaderTest.php @@ -173,4 +173,10 @@ EOF; { ClassCollectionLoader::load(array('SomeNotExistingClass'), '', 'foo', false); } + + public function testLoadTwiceClass() + { + ClassCollectionLoader::load(array('Foo'), '', 'foo', false); + ClassCollectionLoader::load(array('Foo'), '', 'foo', false); + } }