You are here

public function ManagerRegistryTest::testGetManagerForInvalidAliasedClass in Plug 7

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/ManagerRegistryTest.php, line 56

Class

ManagerRegistryTest
@groups DCOM-270 @uses Doctrine\Tests\Common\Persistence\TestObject

Namespace

Doctrine\Tests\Common\Persistence

Code

public function testGetManagerForInvalidAliasedClass() {
  $this
    ->setExpectedException('ReflectionException', 'Class Doctrine\\Tests\\Common\\Persistence\\TestObject:Foo does not exist');
  $this->mr
    ->getManagerForClass('prefix:TestObject:Foo');
}