You are here

public function AttributeMetadataTest::testInterface in Zircon Profile 8

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

File

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

Class

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

Namespace

Symfony\Component\Serializer\Tests\Mapping

Code

public function testInterface() {
  $attributeMetadata = new AttributeMetadata('name');
  $this
    ->assertInstanceOf('Symfony\\Component\\Serializer\\Mapping\\AttributeMetadataInterface', $attributeMetadata);
}