You are here

public function BlackHoleMetadataFactoryTest::testGetMetadataForThrowsALogicException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Mapping/Factory/BlackHoleMetadataFactoryTest.php \Symfony\Component\Validator\Tests\Mapping\Factory\BlackHoleMetadataFactoryTest::testGetMetadataForThrowsALogicException()

@expectedException \LogicException

File

vendor/symfony/validator/Tests/Mapping/Factory/BlackHoleMetadataFactoryTest.php, line 21

Class

BlackHoleMetadataFactoryTest

Namespace

Symfony\Component\Validator\Tests\Mapping\Factory

Code

public function testGetMetadataForThrowsALogicException() {
  $metadataFactory = new BlackHoleMetadataFactory();
  $metadataFactory
    ->getMetadataFor('foo');
}