public function StaticMethodLoaderTest::testLoadClassMetadata in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Mapping/Loader/StaticMethodLoaderTest.php \Symfony\Component\Validator\Tests\Mapping\Loader\StaticMethodLoaderTest::testLoadClassMetadata()
File
- vendor/
symfony/ validator/ Tests/ Mapping/ Loader/ StaticMethodLoaderTest.php, line 48
Class
Namespace
Symfony\Component\Validator\Tests\Mapping\LoaderCode
public function testLoadClassMetadata() {
$loader = new StaticMethodLoader('loadMetadata');
$metadata = new ClassMetadata(__NAMESPACE__ . '\\StaticLoaderEntity');
$loader
->loadClassMetadata($metadata);
$this
->assertEquals(StaticLoaderEntity::$invokedWith, $metadata);
}