You are here

public function AutoloaderTest::testRegisterWithInvalidCallback in Plug 7

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/AutoloaderTest.php, line 62

Class

AutoloaderTest
@group DDC-1698

Namespace

Doctrine\Tests\Common\Proxy

Code

public function testRegisterWithInvalidCallback() {
  $this
    ->setExpectedException('Doctrine\\Common\\Proxy\\Exception\\InvalidArgumentException', 'Invalid \\$notFoundCallback given: must be a callable, "stdClass" given');
  Autoloader::register('', '', new \stdClass());
}