public function ManagerRegistryTest::testGetManagerForInvalidClass in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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\PersistenceCode
public function testGetManagerForInvalidClass() {
$this
->setExpectedException('ReflectionException', 'Class Doctrine\\Tests\\Common\\Persistence\\TestObjectInexistent does not exist');
$this->mr
->getManagerForClass('prefix:TestObjectInexistent');
}