You are here

public function XmlFileLoaderTest::testLoadClassMetadata in Zircon Profile 8

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

File

vendor/symfony/serializer/Tests/Mapping/Loader/XmlFileLoaderTest.php, line 48

Class

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