Skip to content

Commit

Permalink
Update CombinationTests.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 1, 2024
1 parent 314ce9f commit ed9a3ea
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/Verify.Tests/CombinationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,19 @@ public Task SimpleReturnTest() =>
SimpleReturnMethod,
params1,
params2);

[Fact]
public Task RecordingTest()
{
Recording.Start();
return Combination()
.Verify(
(param1, param2) =>
{
Recording.Add("key", $"{param1} {param2}");
return SimpleReturnMethod(param1, param2);
},
params1,
params2);
}
}

0 comments on commit ed9a3ea

Please sign in to comment.