Doctrine\Tests\ODM\CouchDB\Mapping\AnnotationDriverTest::testGetAllClassNamesIsIdempotent PHP Method

testGetAllClassNamesIsIdempotent() public method

    public function testGetAllClassNamesIsIdempotent()
    {
        $annotationDriver = $this->loadDriverForCMSDocuments();
        $original = $annotationDriver->getAllClassNames();
        $annotationDriver = $this->loadDriverForCMSDocuments();
        $afterTestReset = $annotationDriver->getAllClassNames();
        $this->assertEquals($original, $afterTestReset);
    }