NExpect.Matchers.NSubstitute 2.0.30-2306091204.1fe4d76

Prefix Reserved
This is a prerelease version of NExpect.Matchers.NSubstitute.
There is a newer version of this package available.
See the version list below for details.
dotnet add package NExpect.Matchers.NSubstitute --version 2.0.30-2306091204.1fe4d76
                    
NuGet\Install-Package NExpect.Matchers.NSubstitute -Version 2.0.30-2306091204.1fe4d76
                    
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.30-2306091204.1fe4d76" />
                    
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.30-2306091204.1fe4d76" />
                    
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.30-2306091204.1fe4d76
                    
#r "nuget: NExpect.Matchers.NSubstitute, 2.0.30-2306091204.1fe4d76"
                    
#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.30-2306091204.1fe4d76
                    
#: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.30-2306091204.1fe4d76&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=NExpect.Matchers.NSubstitute&version=2.0.30-2306091204.1fe4d76&prerelease
                    
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.123 371 9/17/2025
2.0.122 310 9/16/2025
2.0.121 203 9/11/2025
2.0.120 202 9/9/2025
2.0.119 229 8/12/2025
2.0.118 274 8/6/2025
2.0.117 167 7/15/2025
2.0.116 4,426 3/24/2025
2.0.115 586 2/25/2025
2.0.114 209 2/13/2025
2.0.113 153 2/12/2025
2.0.112 129 2/12/2025
2.0.111 507 12/17/2024
2.0.110 2,139 11/13/2024
2.0.109 164 11/1/2024
2.0.108 290 10/23/2024
2.0.107 148 10/23/2024
2.0.106 160 10/22/2024
2.0.105 1,670 9/11/2024
2.0.104 594 8/30/2024
2.0.103 144 8/30/2024
2.0.102 1,607 6/19/2024
2.0.101 172 6/11/2024
2.0.100 236 6/10/2024
2.0.99 200 6/5/2024
2.0.98 140 6/3/2024
2.0.97 125 6/3/2024
2.0.96 132 6/3/2024
2.0.95 293 5/17/2024
2.0.94 542 5/17/2024
2.0.93 176 5/17/2024
2.0.92 399 4/29/2024
2.0.91 306 4/17/2024
2.0.90 189 4/15/2024
2.0.89 190 4/8/2024
2.0.88 187 4/5/2024
2.0.87 139 4/5/2024
2.0.86 156 4/5/2024
2.0.85 144 4/5/2024
2.0.84 146 4/4/2024
2.0.83 484 4/3/2024
2.0.82 761 4/2/2024
2.0.81 290 3/13/2024
2.0.80 163 3/13/2024
2.0.79 209 3/11/2024
2.0.78 229 3/5/2024
2.0.77 291 2/27/2024
2.0.76 155 2/26/2024
2.0.75 238 2/22/2024
2.0.74 176 2/22/2024
2.0.73 193 2/19/2024
2.0.72 176 2/15/2024
2.0.71 300 2/13/2024
2.0.70 324 2/13/2024
2.0.69 683 2/7/2024
2.0.68 211 2/6/2024
2.0.67 207 2/5/2024
2.0.66 188 2/2/2024
2.0.65 219 1/30/2024
2.0.64 320 1/18/2024
2.0.63 417 1/15/2024
2.0.62 205 1/12/2024
2.0.61 154 1/12/2024
2.0.60 210 1/10/2024
2.0.59 207 1/9/2024
2.0.58 661 12/13/2023
2.0.57 689 11/28/2023
2.0.56 178 11/28/2023
2.0.55 507 11/17/2023
2.0.54 250 11/17/2023
2.0.53 176 11/17/2023
2.0.52 491 10/30/2023
2.0.51 272 10/26/2023
2.0.50 446 10/12/2023
2.0.49 385 9/28/2023
2.0.48 238 9/22/2023
2.0.47 163 9/21/2023
2.0.46 213 9/20/2023
2.0.45 390 9/14/2023
2.0.44 187 9/14/2023
2.0.43 744 8/25/2023
2.0.42 204 8/25/2023
2.0.42-2308241227.f6c25ee 117 8/24/2023
2.0.42-2308161448.98b76da 121 8/16/2023
2.0.42-2308161446.ec7a107 111 8/16/2023
2.0.42-2308161429.74c00e2 119 8/16/2023
2.0.41 408 8/14/2023
2.0.40 338 8/4/2023
2.0.39 240 8/4/2023
2.0.38 204 8/4/2023
2.0.37 219 8/4/2023
2.0.36 230 8/4/2023
2.0.35 218 8/4/2023
2.0.34 878 6/22/2023
2.0.33 221 6/22/2023
2.0.32 231 6/22/2023
2.0.32-2306151149.332886a 136 6/15/2023
2.0.32-2306151140.93d85dc 130 6/15/2023
2.0.32-2306150947.3b80752 136 6/15/2023
2.0.31 339 6/12/2023
2.0.30 442 6/9/2023
2.0.30-2306091428.6fc0bd3 143 6/9/2023
2.0.30-2306091304.51d4d0b 137 6/9/2023
2.0.30-2306091204.1fe4d76 138 6/9/2023
2.0.30-2306090857.5be3155 138 6/9/2023
2.0.30-2306081701.3a525ef 136 6/8/2023
2.0.30-2306081646.5a15be2 135 6/8/2023
2.0.30-2306081628.68f2d91 138 6/8/2023
2.0.30-2306081611.3c4f19f 138 6/8/2023
2.0.30-2306081557.4fa2105 138 6/8/2023
2.0.30-2306081119.fdddf3b 135 6/8/2023
2.0.30-2306081053.68ba9f2 140 6/8/2023
2.0.30-2306080900.1b126b1 140 6/8/2023
2.0.29 451 5/23/2023
2.0.28 314 5/18/2023
2.0.27 266 5/12/2023
2.0.26 267 5/12/2023
2.0.25 343 4/26/2023
2.0.24 1,270 2/1/2023
2.0.23 378 1/30/2023
2.0.22 619 1/26/2023
2.0.21 389 1/25/2023
2.0.20 413 1/25/2023
2.0.19 935 11/30/2022
2.0.18 785 11/14/2022
2.0.17 1,189 10/19/2022
2.0.16 534 10/17/2022
2.0.15 478 10/17/2022
2.0.14 563 10/3/2022
2.0.13 482 10/3/2022
2.0.12 519 10/3/2022
2.0.11 577 9/27/2022
2.0.10 611 9/20/2022
2.0.9 541 9/19/2022
2.0.8 619 9/15/2022
2.0.7 622 9/14/2022
2.0.6 546 9/13/2022
2.0.5 515 9/13/2022
2.0.4 492 9/13/2022
2.0.3 562 9/9/2022
2.0.2 505 9/9/2022
2.0.1 512 9/9/2022
1.0.276 2,581 8/17/2022
1.0.275 527 8/17/2022
1.0.274 1,160 7/28/2022
1.0.273 874 7/14/2022
1.0.272 563 7/14/2022
1.0.271 555 7/13/2022
1.0.270 806 7/7/2022
1.0.269 547 7/7/2022
1.0.268 1,068 6/20/2022
1.0.267 688 6/14/2022
1.0.266 801 6/9/2022
1.0.265 1,018 5/27/2022
1.0.264 653 5/24/2022
1.0.263 592 5/23/2022
1.0.262 648 5/17/2022
1.0.261 588 5/16/2022
1.0.260 585 5/16/2022
1.0.259 1,033 5/6/2022
1.0.258 583 5/5/2022
1.0.257 561 5/5/2022
1.0.256 594 5/4/2022
1.0.255 568 5/4/2022
1.0.254 1,005 4/5/2022
1.0.253 600 4/5/2022
1.0.252 620 4/4/2022
1.0.251 644 3/22/2022
1.0.250 1,662 2/3/2022
1.0.249 646 1/28/2022
1.0.248 609 1/27/2022
1.0.247 632 1/26/2022
1.0.246 643 1/25/2022
1.0.245 631 1/18/2022
1.0.244 616 1/18/2022
1.0.243 622 1/12/2022
1.0.242 654 12/10/2021
1.0.241 469 12/10/2021
1.0.240 466 12/10/2021
1.0.239 520 12/6/2021
1.0.238 488 12/6/2021
1.0.237 448 12/2/2021
1.0.236 430 12/2/2021
1.0.235 446 12/2/2021
1.0.234 459 12/2/2021
1.0.233 647 11/18/2021
1.0.232 448 11/18/2021
1.0.231 666 11/9/2021
1.0.228 493 11/9/2021
1.0.227 697 10/14/2021
1.0.226 915 9/2/2021
1.0.225 506 8/31/2021
1.0.224 542 8/30/2021
1.0.223 692 8/6/2021
1.0.222 532 8/6/2021
1.0.221 538 8/6/2021
1.0.220 558 8/3/2021
1.0.219 585 7/30/2021
1.0.218 750 7/7/2021
1.0.217 497 7/7/2021
1.0.216 536 7/7/2021
1.0.215 555 7/6/2021
1.0.214 513 7/6/2021
1.0.213 523 7/6/2021
1.0.212 713 5/14/2021
1.0.211 507 5/11/2021
1.0.210 484 5/11/2021
1.0.209 474 5/11/2021
1.0.208 488 5/11/2021
1.0.207 490 5/3/2021
1.0.206 580 5/3/2021
1.0.205 495 5/3/2021
1.0.204 515 5/3/2021
1.0.203 512 4/15/2021
1.0.202 495 4/15/2021
1.0.201 465 4/15/2021
1.0.200 499 4/15/2021
1.0.199 473 4/14/2021
1.0.198 599 3/19/2021
1.0.197 505 3/9/2021
1.0.196 503 3/9/2021
1.0.195 502 3/9/2021
1.0.194 537 3/9/2021
1.0.193 539 3/9/2021
1.0.192 542 3/9/2021
1.0.191 519 2/12/2021
1.0.190 613 1/21/2021
1.0.189 575 1/21/2021
1.0.188 534 1/21/2021
1.0.187 544 1/21/2021
1.0.186 593 1/8/2021
1.0.185 517 1/8/2021
1.0.184 579 11/13/2020
1.0.183 554 11/13/2020
1.0.182 546 11/13/2020
1.0.181 627 10/13/2020
1.0.180 659 10/12/2020
1.0.179 653 8/31/2020
1.0.178 629 8/4/2020
1.0.177 626 7/21/2020
1.0.176 610 7/10/2020
1.0.175 631 7/10/2020
1.0.174 677 5/20/2020
1.0.173 664 5/20/2020
1.0.172 663 5/20/2020
1.0.171 676 5/8/2020
1.0.170 654 4/9/2020
1.0.169 650 4/3/2020
1.0.168 640 3/25/2020
1.0.167 714 3/23/2020
1.0.166 703 2/6/2020
1.0.165 691 12/30/2019
1.0.164 714 12/28/2019
1.0.163 657 12/28/2019
1.0.162 704 12/5/2019
1.0.161 674 12/5/2019
1.0.160 691 11/20/2019
1.0.159 698 10/14/2019
1.0.158 680 10/13/2019
1.0.157 687 10/3/2019
1.0.156 710 9/17/2019
1.0.155 721 9/15/2019
1.0.154 754 6/20/2019
1.0.153 712 6/20/2019
1.0.152 778 6/6/2019
1.0.151 738 6/4/2019
1.0.150 746 5/25/2019
1.0.149 745 5/23/2019
1.0.148 756 5/16/2019
1.0.147 736 5/16/2019
1.0.146 744 5/16/2019
1.0.145 730 5/16/2019