You are here

public function YamlFileLoaderTest::testLoadClassMetadataReturnsFalseWhenEmpty 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::testLoadClassMetadataReturnsFalseWhenEmpty()

File

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

Class

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

Namespace

Symfony\Component\Serializer\Tests\Mapping\Loader

Code

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