You are here

public function AnnotationLoaderTest::testLoadClassMetadataReturnsFalseIfNotSuccessful in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/validator/Tests/Mapping/Loader/AnnotationLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\AnnotationLoaderTest::testLoadClassMetadataReturnsFalseIfNotSuccessful()

File

vendor/symfony/validator/Tests/Mapping/Loader/AnnotationLoaderTest.php, line 37

Class

AnnotationLoaderTest

Namespace

Symfony\Component\Validator\Tests\Mapping\Loader

Code

public function testLoadClassMetadataReturnsFalseIfNotSuccessful() {
  $loader = new AnnotationLoader(new AnnotationReader());
  $metadata = new ClassMetadata('\\stdClass');
  $this
    ->assertFalse($loader
    ->loadClassMetadata($metadata));
}