yield 'with array record' =>
[ 'entity' =>
[ 'orderNumber' => 'NUM-1',
],
'expected' =>
[ 'orderNumber' => 'NUM-1',
],
];
yield 'with entity' =>
[ 'entity' => self::
createOrderEntity(),
'expected' => self::
getExpected(),
];
yield 'with order empty line items' =>
[ 'entity' => self::
createOrderEntity([ 'lineItems' =>
new OrderLineItemCollection(),
]),
'expected' => self::
getExpected(),
];
yield 'with order line items' =>
[ 'entity' => self::
createOrderEntity([