NExpect.Matchers.NSubstitute 2.0.124

Prefix Reserved
dotnet add package NExpect.Matchers.NSubstitute --version 2.0.124
                    
NuGet\Install-Package NExpect.Matchers.NSubstitute -Version 2.0.124
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NExpect.Matchers.NSubstitute" Version="2.0.124" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NExpect.Matchers.NSubstitute" Version="2.0.124" />
                    
Directory.Packages.props
<PackageReference Include="NExpect.Matchers.NSubstitute" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NExpect.Matchers.NSubstitute --version 2.0.124
                    
#r "nuget: NExpect.Matchers.NSubstitute, 2.0.124"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package NExpect.Matchers.NSubstitute@2.0.124
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NExpect.Matchers.NSubstitute&version=2.0.124
                    
Install as a Cake Addin
#tool nuget:?package=NExpect.Matchers.NSubstitute&version=2.0.124
                    
Install as a Cake Tool

NExpect.Matchers.NSubstitute

This library offers NSubistitute-specific extensions so you can have Expect-style syntax for your NSubstitute assertions. For example, one may previously have done:

Expect(result)
    .To.Equal(expected);
someService.Received(1).SomeMethodCall();

and now you can keep it consistent:

Expect(result)
    .To.Equal(expected);
Expect(someService)
    .To.Have.Received(1)
    .SomeMethodCall();

also, there's a handy way to assert against no calls at all against a substitute:

Expect(someService)
    .Not.To.Have.Been.Called();
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on NExpect.Matchers.NSubstitute:

Package Downloads
Codeo.CQRS.Testability

Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on NExpect.Matchers.NSubstitute:

Repository Stars
fluffynuts/PeanutButter
Tasty, versatile, nutritious; goes with many things in .net.
Version Downloads Last Updated
2.0.124 573 10/28/2025
2.0.123 519 9/17/2025
2.0.122 337 9/16/2025
2.0.121 440 9/11/2025
2.0.120 228 9/9/2025
2.0.119 253 8/12/2025
2.0.118 296 8/6/2025
2.0.117 182 7/15/2025
2.0.116 5,104 3/24/2025
2.0.115 630 2/25/2025
2.0.114 223 2/13/2025
2.0.113 167 2/12/2025
2.0.112 143 2/12/2025
2.0.111 542 12/17/2024
2.0.110 2,296 11/13/2024
2.0.109 175 11/1/2024
2.0.108 304 10/23/2024
2.0.107 162 10/23/2024
2.0.106 171 10/22/2024
2.0.105 1,701 9/11/2024
2.0.104 606 8/30/2024
2.0.103 156 8/30/2024
2.0.102 1,622 6/19/2024
2.0.101 183 6/11/2024
2.0.100 249 6/10/2024
2.0.99 211 6/5/2024
2.0.98 152 6/3/2024
2.0.97 136 6/3/2024
2.0.96 142 6/3/2024
2.0.95 306 5/17/2024
2.0.94 558 5/17/2024
2.0.93 189 5/17/2024
2.0.92 450 4/29/2024
2.0.91 318 4/17/2024
2.0.90 202 4/15/2024
2.0.89 202 4/8/2024
2.0.88 201 4/5/2024
2.0.87 155 4/5/2024
2.0.86 169 4/5/2024
2.0.85 155 4/5/2024
2.0.84 160 4/4/2024
2.0.83 495 4/3/2024
2.0.82 772 4/2/2024
2.0.81 304 3/13/2024
2.0.80 175 3/13/2024
2.0.79 221 3/11/2024
2.0.78 242 3/5/2024
2.0.77 306 2/27/2024
2.0.76 168 2/26/2024
2.0.75 250 2/22/2024
2.0.74 191 2/22/2024
2.0.73 207 2/19/2024
2.0.72 188 2/15/2024
2.0.71 312 2/13/2024
2.0.70 336 2/13/2024
2.0.69 723 2/7/2024
2.0.68 222 2/6/2024
2.0.67 221 2/5/2024
2.0.66 202 2/2/2024
2.0.65 229 1/30/2024
2.0.64 331 1/18/2024
2.0.63 431 1/15/2024
2.0.62 218 1/12/2024
2.0.61 167 1/12/2024
2.0.60 223 1/10/2024
2.0.59 221 1/9/2024
2.0.58 675 12/13/2023
2.0.57 703 11/28/2023
2.0.56 190 11/28/2023
2.0.55 517 11/17/2023
2.0.54 265 11/17/2023
2.0.53 190 11/17/2023
2.0.52 501 10/30/2023
2.0.51 278 10/26/2023
2.0.50 454 10/12/2023
2.0.49 390 9/28/2023
2.0.48 245 9/22/2023
2.0.47 168 9/21/2023
2.0.46 220 9/20/2023
2.0.45 395 9/14/2023
2.0.44 194 9/14/2023
2.0.43 754 8/25/2023
2.0.42 210 8/25/2023
2.0.42-2308241227.f6c25ee 126 8/24/2023
2.0.42-2308161448.98b76da 127 8/16/2023
2.0.42-2308161446.ec7a107 118 8/16/2023
2.0.42-2308161429.74c00e2 125 8/16/2023
2.0.41 414 8/14/2023
2.0.40 343 8/4/2023
2.0.39 244 8/4/2023
2.0.38 210 8/4/2023
2.0.37 226 8/4/2023
2.0.36 237 8/4/2023
2.0.35 226 8/4/2023
2.0.34 893 6/22/2023
2.0.33 231 6/22/2023
2.0.32 239 6/22/2023
2.0.32-2306151149.332886a 145 6/15/2023
2.0.32-2306151140.93d85dc 139 6/15/2023
2.0.32-2306150947.3b80752 147 6/15/2023
2.0.31 351 6/12/2023
2.0.30 452 6/9/2023
2.0.30-2306091428.6fc0bd3 155 6/9/2023
2.0.30-2306091304.51d4d0b 152 6/9/2023
2.0.30-2306091204.1fe4d76 151 6/9/2023
2.0.30-2306090857.5be3155 149 6/9/2023
2.0.30-2306081701.3a525ef 150 6/8/2023
2.0.30-2306081646.5a15be2 146 6/8/2023
2.0.30-2306081628.68f2d91 148 6/8/2023
2.0.30-2306081611.3c4f19f 148 6/8/2023
2.0.30-2306081557.4fa2105 148 6/8/2023
2.0.30-2306081119.fdddf3b 148 6/8/2023
2.0.30-2306081053.68ba9f2 151 6/8/2023
2.0.30-2306080900.1b126b1 153 6/8/2023
2.0.29 466 5/23/2023
2.0.28 329 5/18/2023
2.0.27 279 5/12/2023
2.0.26 279 5/12/2023
2.0.25 356 4/26/2023
2.0.24 1,285 2/1/2023
2.0.23 394 1/30/2023
2.0.22 632 1/26/2023
2.0.21 403 1/25/2023
2.0.20 427 1/25/2023
2.0.19 948 11/30/2022
2.0.18 802 11/14/2022
2.0.17 1,204 10/19/2022
2.0.16 552 10/17/2022
2.0.15 498 10/17/2022
2.0.14 581 10/3/2022
2.0.13 495 10/3/2022
2.0.12 534 10/3/2022
2.0.11 593 9/27/2022
2.0.10 624 9/20/2022
2.0.9 556 9/19/2022
2.0.8 637 9/15/2022
2.0.7 639 9/14/2022
2.0.6 565 9/13/2022
2.0.5 534 9/13/2022
2.0.4 512 9/13/2022
2.0.3 579 9/9/2022
2.0.2 518 9/9/2022
2.0.1 529 9/9/2022
1.0.276 2,599 8/17/2022
1.0.275 541 8/17/2022
1.0.274 1,176 7/28/2022
1.0.273 890 7/14/2022
1.0.272 576 7/14/2022
1.0.271 573 7/13/2022
1.0.270 825 7/7/2022
1.0.269 567 7/7/2022
1.0.268 1,088 6/20/2022
1.0.267 707 6/14/2022
1.0.266 820 6/9/2022
1.0.265 1,038 5/27/2022
1.0.264 669 5/24/2022
1.0.263 608 5/23/2022
1.0.262 665 5/17/2022
1.0.261 605 5/16/2022
1.0.260 604 5/16/2022
1.0.259 1,050 5/6/2022
1.0.258 602 5/5/2022
1.0.257 578 5/5/2022
1.0.256 616 5/4/2022
1.0.255 585 5/4/2022
1.0.254 1,022 4/5/2022
1.0.253 620 4/5/2022
1.0.252 639 4/4/2022
1.0.251 662 3/22/2022
1.0.250 1,704 2/3/2022
1.0.249 666 1/28/2022
1.0.248 628 1/27/2022
1.0.247 650 1/26/2022
1.0.246 664 1/25/2022
1.0.245 654 1/18/2022
1.0.244 638 1/18/2022
1.0.243 644 1/12/2022
1.0.242 676 12/10/2021
1.0.241 491 12/10/2021
1.0.240 487 12/10/2021
1.0.239 543 12/6/2021
1.0.238 510 12/6/2021
1.0.237 466 12/2/2021
1.0.236 450 12/2/2021
1.0.235 469 12/2/2021
1.0.234 481 12/2/2021
1.0.233 667 11/18/2021
1.0.232 469 11/18/2021
1.0.231 686 11/9/2021
1.0.228 514 11/9/2021
1.0.227 715 10/14/2021
1.0.226 935 9/2/2021
1.0.225 526 8/31/2021
1.0.224 564 8/30/2021
1.0.223 711 8/6/2021
1.0.222 553 8/6/2021
1.0.221 557 8/6/2021
1.0.220 579 8/3/2021
1.0.219 605 7/30/2021
1.0.218 769 7/7/2021
1.0.217 518 7/7/2021
1.0.216 558 7/7/2021
1.0.215 573 7/6/2021
1.0.214 532 7/6/2021
1.0.213 541 7/6/2021
1.0.212 732 5/14/2021
1.0.211 532 5/11/2021
1.0.210 507 5/11/2021
1.0.209 497 5/11/2021
1.0.208 512 5/11/2021
1.0.207 510 5/3/2021
1.0.206 602 5/3/2021
1.0.205 517 5/3/2021
1.0.204 537 5/3/2021
1.0.203 533 4/15/2021
1.0.202 518 4/15/2021
1.0.201 490 4/15/2021
1.0.200 521 4/15/2021
1.0.199 494 4/14/2021
1.0.198 622 3/19/2021
1.0.197 528 3/9/2021
1.0.196 525 3/9/2021
1.0.195 523 3/9/2021
1.0.194 558 3/9/2021
1.0.193 562 3/9/2021
1.0.192 565 3/9/2021
1.0.191 545 2/12/2021
1.0.190 640 1/21/2021
1.0.189 602 1/21/2021
1.0.188 561 1/21/2021
1.0.187 571 1/21/2021
1.0.186 619 1/8/2021
1.0.185 541 1/8/2021
1.0.184 606 11/13/2020
1.0.183 582 11/13/2020
1.0.182 573 11/13/2020
1.0.181 653 10/13/2020
1.0.180 685 10/12/2020
1.0.179 684 8/31/2020
1.0.178 657 8/4/2020
1.0.177 656 7/21/2020
1.0.176 639 7/10/2020
1.0.175 658 7/10/2020
1.0.174 705 5/20/2020
1.0.173 693 5/20/2020
1.0.172 689 5/20/2020
1.0.171 704 5/8/2020
1.0.170 684 4/9/2020
1.0.169 679 4/3/2020
1.0.168 666 3/25/2020
1.0.167 744 3/23/2020
1.0.166 732 2/6/2020
1.0.165 720 12/30/2019
1.0.164 743 12/28/2019
1.0.163 684 12/28/2019
1.0.162 731 12/5/2019
1.0.161 703 12/5/2019
1.0.160 716 11/20/2019
1.0.159 727 10/14/2019
1.0.158 707 10/13/2019
1.0.157 714 10/3/2019
1.0.156 735 9/17/2019
1.0.155 751 9/15/2019
1.0.154 783 6/20/2019
1.0.153 741 6/20/2019
1.0.152 806 6/6/2019
1.0.151 765 6/4/2019
1.0.150 775 5/25/2019
1.0.149 772 5/23/2019
1.0.148 784 5/16/2019
1.0.147 764 5/16/2019
1.0.146 774 5/16/2019
1.0.145 764 5/16/2019