#[Package('system-settings')]
class OrderSerializerTest extends TestCase
{ private OrderSerializer
$serializer;
protected function setUp(): void
{ $this->serializer =
new OrderSerializer();
$this->serializer->
setRegistry($this->
createMock(SerializerRegistry::
class));
} public function testSupports(): void
{ static::
assertTrue($this->serializer->
supports('order'
));
static::
assertFalse($this->serializer->
supports('not_order'
));
} /**
* @dataProvider serializeDataProvider
*
* @param array<mixed>|Struct|null $entity
* @param array<mixed> $expected
*/