You are here

public function BlackHoleMetadataFactoryTest::testGetMetadataForThrowsALogicException in Plug 7

@expectedException \LogicException

File

lib/Symfony/validator/Symfony/Component/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');
}