You are here

public function ManagerRegistryTest::testGetManagerForInvalidClass in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/ManagerRegistryTest.php \Doctrine\Tests\Common\Persistence\ManagerRegistryTest::testGetManagerForInvalidClass()

File

vendor/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');
}