Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the Mockolate dependency from version 0.40.0 to 0.41.0 and migrates all test code to use the new API syntax (It.Is/It.IsAny instead of Match.With/Match.Any).
Key Changes:
- Updated Mockolate package version to 0.41.0
- Replaced
Match.With()withIt.Is()across all test files - Replaced
Match.Any<T>()withIt.IsAny<T>()across all test files
Reviewed changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Directory.Packages.props | Updated Mockolate package version from 0.40.0 to 0.41.0 |
| ThatVerificationResultIs.TwiceTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.TimesTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.ThenTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.OnceTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.NeverTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.ExactlyTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.BetweenTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.AtMostTwiceTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.AtMostTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.AtMostOnceTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.AtLeastTwiceTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.AtLeastTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatVerificationResultIs.AtLeastOnceTests.cs | Migrated mock verification calls from Match.With to It.Is |
| ThatMockVerifyIs.AllSetupsAreUsedTests.cs | Migrated mock setup and verification calls from Match.With/Match.Any to It.Is/It.IsAny, and updated expected error messages |
| ThatMockVerifyIs.AllInteractionsAreVerifiedTests.cs | Migrated mock verification calls from Match.With/Match.Any to It.Is/It.IsAny |
| README.md | Updated documentation examples from Match.With to It.Is |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🚀 Benchmark ResultsDetails
|
|
This is addressed in release v0.9.0. |



This PR updates the Mockolate dependency from version 0.40.0 to 0.41.0 and migrates all test code to use the new API syntax (
It.Is/It.IsAnyinstead ofMatch.With/Match.Any).Key Changes:
Match.With()withIt.Is()across all test filesMatch.Any<T>()withIt.IsAny<T>()across all test files