use Symfony\Component\PropertyAccess\PropertyPath;
use Symfony\Component\Serializer\Mapping\AttributeMetadata;
use Symfony\Component\Serializer\Mapping\AttributeMetadataInterface;
/**
* @author Kévin Dunglas <dunglas@gmail.com>
*/
class AttributeMetadataTest extends TestCase
{ public function testInterface() { $attributeMetadata =
new AttributeMetadata('name'
);
$this->
assertInstanceOf(AttributeMetadataInterface::
class,
$attributeMetadata);
} public function testGetName() { $attributeMetadata =
new AttributeMetadata('name'
);
$this->
assertEquals('name',
$attributeMetadata->
getName());
} public function testGroups() {