/**
* @author Kévin Dunglas <dunglas@gmail.com>
*/
class SerializerExtractorTest extends TestCase
{ private SerializerExtractor
$extractor;
protected function setUp(): void
{ $classMetadataFactory =
new ClassMetadataFactory(new AnnotationLoader());
$this->extractor =
new SerializerExtractor($classMetadataFactory);
} public function testGetProperties() { $this->
assertEquals( ['collection'
],
$this->extractor->
getProperties(Dummy::
class,
['serializer_groups' =>
['a'
]]) );
} public function testGetPropertiesWithIgnoredProperties() {