class BlackHoleMetadataFactoryTest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Mapping/Factory/BlackHoleMetadataFactoryTest.php \Symfony\Component\Validator\Tests\Mapping\Factory\BlackHoleMetadataFactoryTest
Hierarchy
- class \Symfony\Component\Validator\Tests\Mapping\Factory\BlackHoleMetadataFactoryTest extends \Symfony\Component\Validator\Tests\Mapping\Factory\PHPUnit_Framework_TestCase
Expanded class hierarchy of BlackHoleMetadataFactoryTest
File
- vendor/
symfony/ validator/ Tests/ Mapping/ Factory/ BlackHoleMetadataFactoryTest.php, line 16
Namespace
Symfony\Component\Validator\Tests\Mapping\FactoryView source
class BlackHoleMetadataFactoryTest extends \PHPUnit_Framework_TestCase {
/**
* @expectedException \LogicException
*/
public function testGetMetadataForThrowsALogicException() {
$metadataFactory = new BlackHoleMetadataFactory();
$metadataFactory
->getMetadataFor('foo');
}
public function testHasMetadataForReturnsFalse() {
$metadataFactory = new BlackHoleMetadataFactory();
$this
->assertFalse($metadataFactory
->hasMetadataFor('foo'));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BlackHoleMetadataFactoryTest:: |
public | function | @expectedException \LogicException | |
BlackHoleMetadataFactoryTest:: |
public | function |