You are here

class BlackHoleMetadataFactoryTest 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

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\Factory
View 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