class TestBasicStruct extends SerializationFixture
{ public function getInput(): EntityCollection|Entity
{ $media =
new MediaEntity();
$media->
setId('1d23c1b015bf43fb97e89008cf42d6fe'
);
$media->
setTitle('Manufacturer'
);
$media->
setMimeType('image/png'
);
$media->
setFileExtension('png'
);
$media->
setFileSize(310818
);
$media->
setAlt('A media object description'
);
$media->
setCreatedAt(new \
DateTime('2018-01-15T08:01:16.432+00:00'
));
$media->
internalSetEntityData('media',
new FieldVisibility([]));
return $media;
} /**
* @return array<string, mixed>
*/
protected function getJsonApiFixtures(string
$baseUrl): array
{