Doctrine\Tests\ODM\CouchDB\Functional\ManyToManyAssociationTest::testInverseManyToManySeveralEntries PHP Method

testInverseManyToManySeveralEntries() public method

    public function testInverseManyToManySeveralEntries()
    {
        $group = $this->dm->find('Doctrine\\Tests\\Models\\CMS\\CmsGroup', $this->groupIds[1]);
        $this->assertEquals(2, count($group->users));
        $this->assertTrue($group->users->isInitialized);
    }