public function PersistentObjectTest::testNonMatchingObjectManager in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php \Doctrine\Tests\Common\Persistence\PersistentObjectTest::testNonMatchingObjectManager()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ PersistentObjectTest.php, line 34
Class
- PersistentObjectTest
- @group DDC-1448
Namespace
Doctrine\Tests\Common\PersistenceCode
public function testNonMatchingObjectManager() {
$this
->setExpectedException('RuntimeException');
$om = $this
->getMock('Doctrine\\Common\\Persistence\\ObjectManager');
$this->object
->injectObjectManager($om, $this->cm);
}