public function PersistentObjectTest::testSetInvalidToOneAssociation in Plug 7
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ PersistentObjectTest.php, line 87
Class
- PersistentObjectTest
- @group DDC-1448
Namespace
Doctrine\Tests\Common\PersistenceCode
public function testSetInvalidToOneAssociation() {
$parent = new \stdClass();
$this
->setExpectedException('InvalidArgumentException');
$this->object
->setParent($parent);
}