public function AnnotationLoaderTest::testLoadClassMetadataReturnsTrueIfSuccessful in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Mapping/ Loader/ AnnotationLoaderTest.php, line 38
Class
Namespace
Symfony\Component\Validator\Tests\Mapping\LoaderCode
public function testLoadClassMetadataReturnsTrueIfSuccessful() {
$reader = new AnnotationReader();
$loader = new AnnotationLoader($reader);
$metadata = new ClassMetadata('Symfony\\Component\\Validator\\Tests\\Fixtures\\Entity');
$this
->assertTrue($loader
->loadClassMetadata($metadata));
}