public function ClassMetadataFactoryTest::testGetMetadataFor in Plug 7
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ ClassMetadataFactoryTest.php, line 34
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetMetadataFor() {
$metadata = $this->cmf
->getMetadataFor('stdClass');
$this
->assertInstanceOf('Doctrine\\Common\\Persistence\\Mapping\\ClassMetadata', $metadata);
$this
->assertTrue($this->cmf
->hasMetadataFor('stdClass'));
}