Skip to content

Instantly share code, notes, and snippets.

@AndyButland
Created April 1, 2024 15:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndyButland/50963d9b1c2a5148285ad517c9f98731 to your computer and use it in GitHub Desktop.
Save AndyButland/50963d9b1c2a5148285ad517c9f98731 to your computer and use it in GitHub Desktop.
var commands = new List<ImageUrlGenerationOptions>();
imageUrlGeneratorMock.Verify(x => x.GetImageUrl(Capture.In(commands, cmd => true)));
foreach (ImageUrlGenerationOptions command in commands)
{
System.Diagnostics.Debug.WriteLine(command.Height);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment