You are here

public function AnnotationLoaderTest::testLoadClassMetadataReturnsTrueIfSuccessful in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php, line 38

Class

AnnotationLoaderTest

Namespace

Symfony\Component\Validator\Tests\Mapping\Loader

Code

public function testLoadClassMetadataReturnsTrueIfSuccessful() {
  $reader = new AnnotationReader();
  $loader = new AnnotationLoader($reader);
  $metadata = new ClassMetadata('Symfony\\Component\\Validator\\Tests\\Fixtures\\Entity');
  $this
    ->assertTrue($loader
    ->loadClassMetadata($metadata));
}