You are here

public function ManagerRegistryTest::testGetManagerForInvalidClass in Plug 7

File

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

Class

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

Namespace

Doctrine\Tests\Common\Persistence

Code

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