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