You are here

public function AnnotationLoaderTest::testLoadClassMetadata in Zircon Profile 8

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

File

vendor/symfony/serializer/Tests/Mapping/Loader/AnnotationLoaderTest.php, line 46

Class

AnnotationLoaderTest
@author Kévin Dunglas <dunglas@gmail.com>

Namespace

Symfony\Component\Serializer\Tests\Mapping\Loader

Code

public function testLoadClassMetadata() {
  $classMetadata = new ClassMetadata('Symfony\\Component\\Serializer\\Tests\\Fixtures\\GroupDummy');
  $this->loader
    ->loadClassMetadata($classMetadata);
  $this
    ->assertEquals(TestClassMetadataFactory::createClassMetadata(), $classMetadata);
}