You are here

public function AnnotationLoaderTest::testLoadClassMetadataReturnsTrueIfSuccessful in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/validator/Tests/Mapping/Loader/AnnotationLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\AnnotationLoaderTest::testLoadClassMetadataReturnsTrueIfSuccessful()
  2. 8.0 vendor/symfony/serializer/Tests/Mapping/Loader/AnnotationLoaderTest.php \Symfony\Component\Serializer\Tests\Mapping\Loader\AnnotationLoaderTest::testLoadClassMetadataReturnsTrueIfSuccessful()
Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Mapping/Loader/AnnotationLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\AnnotationLoaderTest::testLoadClassMetadataReturnsTrueIfSuccessful()

File

vendor/symfony/validator/Tests/Mapping/Loader/AnnotationLoaderTest.php, line 28

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));
}