You are here

public function StaticMethodLoaderTest::testLoadClassMetadataReturnsFalseIfNotSuccessful in Zircon Profile 8.0

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

File

vendor/symfony/validator/Tests/Mapping/Loader/StaticMethodLoaderTest.php, line 40

Class

StaticMethodLoaderTest

Namespace

Symfony\Component\Validator\Tests\Mapping\Loader

Code

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