Skip to content

chore: bump Mockolate to v0.41.0#41

Merged
vbreuss merged 1 commit intomainfrom
chore/update-amockolate-0.41.0
Dec 5, 2025
Merged

chore: bump Mockolate to v0.41.0#41
vbreuss merged 1 commit intomainfrom
chore/update-amockolate-0.41.0

Conversation

@vbreuss
Copy link
Contributor

@vbreuss vbreuss commented Dec 5, 2025

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() with It.Is() across all test files
  • Replaced Match.Any<T>() with It.IsAny<T>() across all test files

@vbreuss vbreuss self-assigned this Dec 5, 2025
Copilot AI review requested due to automatic review settings December 5, 2025 15:03
@vbreuss vbreuss added the dependencies Pull requests that update a dependency file label Dec 5, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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() with It.Is() across all test files
  • Replaced Match.Any<T>() with It.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.

@vbreuss vbreuss enabled auto-merge (squash) December 5, 2025 15:03
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 5, 2025

@vbreuss vbreuss disabled auto-merge December 5, 2025 15:05
@vbreuss vbreuss merged commit eed763d into main Dec 5, 2025
10 checks passed
@vbreuss vbreuss deleted the chore/update-amockolate-0.41.0 branch December 5, 2025 15:05
@github-actions
Copy link

github-actions bot commented Dec 5, 2025

🚀 Benchmark Results

Details

BenchmarkDotNet v0.15.8, Linux Ubuntu 24.04.3 LTS (Noble Numbat)
AMD EPYC 7763 2.45GHz, 1 CPU, 4 logical and 2 physical cores
.NET SDK 10.0.100
[Host] : .NET 10.0.0 (10.0.0, 10.0.25.52411), X64 RyuJIT x86-64-v3
DefaultJob : .NET 10.0.0 (10.0.0, 10.0.25.52411), X64 RyuJIT x86-64-v3

Method Mean Error StdDev Median Allocated
Dummy_aweXpect 0.0002 ns 0.0006 ns 0.0005 ns 0.0 ns -

@github-actions
Copy link

github-actions bot commented Dec 5, 2025

This is addressed in release v0.9.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file state: released The issue is released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants