public function ClassCollectionLoaderTest::testUnableToLoadClassException in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/class-loader/Tests/ClassCollectionLoaderTest.php \Symfony\Component\ClassLoader\Tests\ClassCollectionLoaderTest::testUnableToLoadClassException()
@expectedException \InvalidArgumentException
File
- vendor/
symfony/ class-loader/ Tests/ ClassCollectionLoaderTest.php, line 226
Class
Namespace
Symfony\Component\ClassLoader\TestsCode
public function testUnableToLoadClassException() {
if (is_file($file = sys_get_temp_dir() . '/foo.php')) {
unlink($file);
}
ClassCollectionLoader::load(array(
'SomeNotExistingClass',
), sys_get_temp_dir(), 'foo', false);
}