You are here

public function AttributeMetadataTest::testGetName 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::testGetName()

File

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

Class

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

Namespace

Symfony\Component\Serializer\Tests\Mapping

Code

public function testGetName() {
  $attributeMetadata = new AttributeMetadata('name');
  $this
    ->assertEquals('name', $attributeMetadata
    ->getName());
}