public function AutoloaderTest::testRegisterWithInvalidCallback in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/AutoloaderTest.php \Doctrine\Tests\Common\Proxy\AutoloaderTest::testRegisterWithInvalidCallback()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ AutoloaderTest.php, line 62
Class
- AutoloaderTest
- @group DDC-1698
Namespace
Doctrine\Tests\Common\ProxyCode
public function testRegisterWithInvalidCallback() {
$this
->setExpectedException('Doctrine\\Common\\Proxy\\Exception\\InvalidArgumentException', 'Invalid \\$notFoundCallback given: must be a callable, "stdClass" given');
Autoloader::register('', '', new \stdClass());
}