Conversation
There was a problem hiding this comment.
Pull request overview
Updates Mockolate to v1.4.1 and adjusts the HttpContent JSON-content matcher surface/tests accordingly.
Changes:
- Bump Mockolate package version from 1.4.0 to 1.4.1.
- Add additional verification assertions in JSON content matching tests (ensuring expected request bodies are actually observed).
- Remove several pass-through overloads from the
IsJsonContentwrapper API.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| Tests/aweXpect.Mockolate.Tests/Web/ItExtensionsTests.HttpContentTests.IsJsonContentTests.cs | Adds verification of PostAsync calls using WithJsonMatching(...) in multiple scenarios. |
| Source/aweXpect.Mockolate/Web/ItExtensions.HttpContent.IsJsonContent.cs | Removes several WithHeaders, WithString, WithBytes, and WithFormData overloads from the wrapper. |
| Directory.Packages.props | Bumps Mockolate dependency to 1.4.1. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
🚀 Benchmark ResultsDetails
|
|
This is addressed in release v1.1.1. |



Updates Mockolate to v1.4.1 and adjusts the HttpContent JSON-content matcher surface/tests accordingly.
Key Changes:
IsJsonContentwrapper API.