Doctrine\Tests\ODM\PHPCR\Functional\ReferenceTest::testCreateWithoutManyRef PHP Метод

testCreateWithoutManyRef() публичный Метод

    public function testCreateWithoutManyRef()
    {
        $refTestObj = new RefManyTestObj();
        $refTestObj->id = '/functional/refManyTestObj';
        $this->dm->persist($refTestObj);
        $this->dm->flush();
        $this->dm->clear();
        $this->assertFalse($this->session->getNode('/functional')->getNode('refManyTestObj')->hasProperty('myReferences'));
    }