public function PersistentObjectTest::testAddInvalidCollection in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/PersistentObjectTest.php \Doctrine\Tests\Common\Persistence\PersistentObjectTest::testAddInvalidCollection()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ PersistentObjectTest.php, line 138
Class
- PersistentObjectTest
- @group DDC-1448
Namespace
Doctrine\Tests\Common\PersistenceCode
public function testAddInvalidCollection() {
$this
->setExpectedException('BadMethodCallException');
$this->object
->addAsdf(new \stdClass());
}