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