Is possible to autogenerate a Media "element" ?
I am trying to do this
mediaProvider.GetMedia(Arg.Is<Sitecore.Data.Items.MediaItem>(i => i.ID == mediaItemId)).Returns(Arg.Any<Media>());
but this can apparently not be done? I don't care about what the content of the Media, it just not allowed to be empty, I would very much like to avoid defined the media, for reusability purpose..
I was in the Sitecore chat pointed towards using AutoFixture, but I'm not quite sure how to use it here and whether it creates a specific instance of the Media, and not a random one.