1<?php
2
3declare(strict_types=1);
4
5namespace JMS\Serializer\Tests\Metadata;
6
7use JMS\Serializer\Metadata\StaticPropertyMetadata;
8
9class StaticPropertyMetadataTest extends AbstractPropertyMetadataTest
10{
11    public function testSerialization()
12    {
13        $meta = new StaticPropertyMetadata('stdClass', 'foo', 'fooVal');
14        $this->setNonDefaultMetadataValues($meta);
15
16        $restoredMeta = unserialize(serialize($meta));
17        $this->assertEquals($meta, $restoredMeta);
18    }
19}
20