You are here

public function StaticMethodLoaderTest::testLoadClassMetadataIgnoresInterfaces 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::testLoadClassMetadataIgnoresInterfaces()

File

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

Class

StaticMethodLoaderTest

Namespace

Symfony\Component\Validator\Tests\Mapping\Loader

Code

public function testLoadClassMetadataIgnoresInterfaces() {
  $loader = new StaticMethodLoader('loadMetadata');
  $metadata = new ClassMetadata(__NAMESPACE__ . '\\StaticLoaderInterface');
  $loader
    ->loadClassMetadata($metadata);
  $this
    ->assertCount(0, $metadata
    ->getConstraints());
}