Doctrine\Tests\ODM\CouchDB\Functional\BasicCrudTest::testDeleteProxy PHP Метод

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

public testDeleteProxy ( )
    public function testDeleteProxy()
    {
        $user = $this->dm->getReference($this->type, 1);
        $this->dm->remove($user);
        $this->dm->flush();
        $this->dm->clear();
        $userRemoved = $this->dm->find($this->type, 1);
        $this->assertNull($userRemoved, "Have to delete user object!");
    }