Skip to content

Instantly share code, notes, and snippets.

@alieniasty
Created January 24, 2018 13:51
Show Gist options
  • Save alieniasty/2b0321a63c96ab68efc3a1a0f8342ae9 to your computer and use it in GitHub Desktop.
Save alieniasty/2b0321a63c96ab68efc3a1a0f8342ae9 to your computer and use it in GitHub Desktop.
private readonly Func<InternalMediaItemDto> _internalMediaItemDtoFactory = () => Builder<InternalMediaItemDto>
.CreateNew()
.With(x => x.MediaItem = Builder<MediaItem>.CreateNew().Build())
.Build();
private readonly Func<int, IEnumerable<BundleOffer>> _bundleOffersFactory = x => Builder<BundleOffer>
.CreateListOfSize(x)
.Build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment