You are here

public function ClassMetadataTest::testInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Tests/Mapping/ClassMetadataTest.php \Symfony\Component\Serializer\Tests\Mapping\ClassMetadataTest::testInterface()

File

vendor/symfony/serializer/Tests/Mapping/ClassMetadataTest.php, line 21

Class

ClassMetadataTest
@author Kévin Dunglas <dunglas@gmail.com>

Namespace

Symfony\Component\Serializer\Tests\Mapping

Code

public function testInterface() {
  $classMetadata = new ClassMetadata('name');
  $this
    ->assertInstanceOf('Symfony\\Component\\Serializer\\Mapping\\ClassMetadataInterface', $classMetadata);
}