public function StaticMethodLoaderTest::testLoadClassMetadataIgnoresInterfaces in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Mapping/ Loader/ StaticMethodLoaderTest.php, line 71
Class
Namespace
Symfony\Component\Validator\Tests\Mapping\LoaderCode
public function testLoadClassMetadataIgnoresInterfaces() {
$loader = new StaticMethodLoader('loadMetadata');
$metadata = new ClassMetadata(__NAMESPACE__ . '\\StaticLoaderInterface');
$loader
->loadClassMetadata($metadata);
$this
->assertCount(0, $metadata
->getConstraints());
}