/**
* Data provider for the denormalize test.
*
* @return array
* The data for the test method.
*/
public function denormalizeProvider() {
return [
[
['data' => [['type' => 'lorem--dummy_bundle', 'id' => '4e6cb61d-4f04-437f-99fe-42c002393658']]],
'field_dummy',
[new ResourceIdentifier('lorem--dummy_bundle', '4e6cb61d-4f04-437f-99fe-42c002393658')],
],
[
['data' => []],
'field_dummy',
[],
],
[
['data' => NULL],
'field_dummy_single',
[],
],
];