You are here

public function YamlFileLoaderTest::testLoadClassMetadataReturnsThrowsInvalidMapping in Zircon Profile 8

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::testLoadClassMetadataReturnsThrowsInvalidMapping()

@expectedException \Symfony\Component\Serializer\Exception\MappingException

File

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

Class

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

Namespace

Symfony\Component\Serializer\Tests\Mapping\Loader

Code

public function testLoadClassMetadataReturnsThrowsInvalidMapping() {
  $loader = new YamlFileLoader(__DIR__ . '/../../Fixtures/invalid-mapping.yml');
  $loader
    ->loadClassMetadata($this->metadata);
}