You are here

public function AnnotationLoaderTest::testLoadClassMetadataReturnsFalseIfNotSuccessful in Plug 7

File

lib/Symfony/validator/Symfony/Component/Validator/Tests/Mapping/Loader/AnnotationLoaderTest.php, line 47

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