public function ManagerRegistryTest::testGetManagerForInvalidAliasedClass in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/ManagerRegistryTest.php \Doctrine\Tests\Common\Persistence\ManagerRegistryTest::testGetManagerForInvalidAliasedClass()
File
- vendor/
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\PersistenceCode
public function testGetManagerForInvalidAliasedClass() {
$this
->setExpectedException('ReflectionException', 'Class Doctrine\\Tests\\Common\\Persistence\\TestObject:Foo does not exist');
$this->mr
->getManagerForClass('prefix:TestObject:Foo');
}