You are here

public function YamlFileLoaderTest::testLoadClassMetadata in Zircon Profile 8

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

File

vendor/symfony/serializer/Tests/Mapping/Loader/YamlFileLoaderTest.php, line 63

Class

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

Namespace

Symfony\Component\Serializer\Tests\Mapping\Loader

Code

public function testLoadClassMetadata() {
  $this->loader
    ->loadClassMetadata($this->metadata);
  $this
    ->assertEquals(TestClassMetadataFactory::createXmlCLassMetadata(), $this->metadata);
}