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.
#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.116 2,483 3/24/2025
2.0.115 490 2/25/2025
2.0.114 176 2/13/2025
2.0.113 118 2/12/2025
2.0.112 106 2/12/2025
2.0.111 483 12/17/2024
2.0.110 1,918 11/13/2024
2.0.109 151 11/1/2024
2.0.108 268 10/23/2024
2.0.107 114 10/23/2024
2.0.106 127 10/22/2024
2.0.105 1,622 9/11/2024
2.0.104 582 8/30/2024
2.0.103 111 8/30/2024
2.0.102 1,572 6/19/2024
2.0.101 149 6/11/2024
2.0.100 215 6/10/2024
2.0.99 178 6/5/2024
2.0.98 108 6/3/2024
2.0.97 103 6/3/2024
2.0.96 99 6/3/2024
2.0.95 269 5/17/2024
2.0.94 510 5/17/2024
2.0.93 144 5/17/2024
2.0.92 340 4/29/2024
2.0.91 270 4/17/2024
2.0.90 156 4/15/2024
2.0.89 159 4/8/2024
2.0.88 153 4/5/2024
2.0.87 108 4/5/2024
2.0.86 135 4/5/2024
2.0.85 114 4/5/2024
2.0.84 110 4/4/2024
2.0.83 449 4/3/2024
2.0.82 724 4/2/2024
2.0.81 267 3/13/2024
2.0.80 132 3/13/2024
2.0.79 196 3/11/2024
2.0.78 192 3/5/2024
2.0.77 261 2/27/2024
2.0.76 126 2/26/2024
2.0.75 215 2/22/2024
2.0.74 146 2/22/2024
2.0.73 172 2/19/2024
2.0.72 155 2/15/2024
2.0.71 280 2/13/2024
2.0.70 292 2/13/2024
2.0.69 609 2/7/2024
2.0.68 176 2/6/2024
2.0.67 188 2/5/2024
2.0.66 168 2/2/2024
2.0.65 188 1/30/2024
2.0.64 301 1/18/2024
2.0.63 389 1/15/2024
2.0.62 174 1/12/2024
2.0.61 125 1/12/2024
2.0.60 179 1/10/2024
2.0.59 187 1/9/2024
2.0.58 641 12/13/2023
2.0.57 658 11/28/2023
2.0.56 160 11/28/2023
2.0.55 488 11/17/2023
2.0.54 220 11/17/2023
2.0.53 147 11/17/2023
2.0.52 461 10/30/2023
2.0.51 240 10/26/2023
2.0.50 423 10/12/2023
2.0.49 362 9/28/2023
2.0.48 215 9/22/2023
2.0.47 130 9/21/2023
2.0.46 178 9/20/2023
2.0.45 356 9/14/2023
2.0.44 174 9/14/2023
2.0.43 706 8/25/2023
2.0.42 169 8/25/2023
2.0.42-2308241227.f6c25ee 91 8/24/2023
2.0.42-2308161448.98b76da 94 8/16/2023
2.0.42-2308161446.ec7a107 84 8/16/2023
2.0.42-2308161429.74c00e2 94 8/16/2023
2.0.41 360 8/14/2023
2.0.40 289 8/4/2023
2.0.39 192 8/4/2023
2.0.38 166 8/4/2023
2.0.37 181 8/4/2023
2.0.36 193 8/4/2023
2.0.35 170 8/4/2023
2.0.34 837 6/22/2023
2.0.33 169 6/22/2023
2.0.32 191 6/22/2023
2.0.32-2306151149.332886a 105 6/15/2023
2.0.32-2306151140.93d85dc 99 6/15/2023
2.0.32-2306150947.3b80752 103 6/15/2023
2.0.31 297 6/12/2023
2.0.30 400 6/9/2023
2.0.30-2306091428.6fc0bd3 107 6/9/2023
2.0.30-2306091304.51d4d0b 106 6/9/2023
2.0.30-2306091204.1fe4d76 107 6/9/2023
2.0.30-2306090857.5be3155 106 6/9/2023
2.0.30-2306081701.3a525ef 105 6/8/2023
2.0.30-2306081646.5a15be2 103 6/8/2023
2.0.30-2306081628.68f2d91 105 6/8/2023
2.0.30-2306081611.3c4f19f 106 6/8/2023
2.0.30-2306081557.4fa2105 106 6/8/2023
2.0.30-2306081119.fdddf3b 104 6/8/2023
2.0.30-2306081053.68ba9f2 108 6/8/2023
2.0.30-2306080900.1b126b1 109 6/8/2023
2.0.29 408 5/23/2023
2.0.28 258 5/18/2023
2.0.27 213 5/12/2023
2.0.26 214 5/12/2023
2.0.25 300 4/26/2023
2.0.24 1,215 2/1/2023
2.0.23 334 1/30/2023
2.0.22 559 1/26/2023
2.0.21 333 1/25/2023
2.0.20 349 1/25/2023
2.0.19 882 11/30/2022
2.0.18 730 11/14/2022
2.0.17 1,147 10/19/2022
2.0.16 479 10/17/2022
2.0.15 430 10/17/2022
2.0.14 527 10/3/2022
2.0.13 436 10/3/2022
2.0.12 483 10/3/2022
2.0.11 529 9/27/2022
2.0.10 562 9/20/2022
2.0.9 494 9/19/2022
2.0.8 551 9/15/2022
2.0.7 576 9/14/2022
2.0.6 488 9/13/2022
2.0.5 449 9/13/2022
2.0.4 444 9/13/2022
2.0.3 515 9/9/2022
2.0.2 458 9/9/2022
2.0.1 464 9/9/2022
1.0.276 2,500 8/17/2022
1.0.275 460 8/17/2022
1.0.274 1,114 7/28/2022
1.0.273 818 7/14/2022
1.0.272 518 7/14/2022
1.0.271 499 7/13/2022
1.0.270 735 7/7/2022
1.0.269 487 7/7/2022
1.0.268 1,011 6/20/2022
1.0.267 628 6/14/2022
1.0.266 743 6/9/2022
1.0.265 968 5/27/2022
1.0.264 592 5/24/2022
1.0.263 516 5/23/2022
1.0.262 566 5/17/2022
1.0.261 516 5/16/2022
1.0.260 516 5/16/2022
1.0.259 973 5/6/2022
1.0.258 534 5/5/2022
1.0.257 501 5/5/2022
1.0.256 536 5/4/2022
1.0.255 508 5/4/2022
1.0.254 935 4/5/2022
1.0.253 535 4/5/2022
1.0.252 551 4/4/2022
1.0.251 579 3/22/2022
1.0.250 1,571 2/3/2022
1.0.249 578 1/28/2022
1.0.248 545 1/27/2022
1.0.247 558 1/26/2022
1.0.246 575 1/25/2022
1.0.245 565 1/18/2022
1.0.244 536 1/18/2022
1.0.243 553 1/12/2022
1.0.242 596 12/10/2021
1.0.241 394 12/10/2021
1.0.240 401 12/10/2021
1.0.239 442 12/6/2021
1.0.238 401 12/6/2021
1.0.237 387 12/2/2021
1.0.236 361 12/2/2021
1.0.235 376 12/2/2021
1.0.234 383 12/2/2021
1.0.233 579 11/18/2021
1.0.232 389 11/18/2021
1.0.231 608 11/9/2021
1.0.228 431 11/9/2021
1.0.227 638 10/14/2021
1.0.226 875 9/2/2021
1.0.225 448 8/31/2021
1.0.224 485 8/30/2021
1.0.223 631 8/6/2021
1.0.222 474 8/6/2021
1.0.221 471 8/6/2021
1.0.220 488 8/3/2021
1.0.219 525 7/30/2021
1.0.218 690 7/7/2021
1.0.217 440 7/7/2021
1.0.216 475 7/7/2021
1.0.215 499 7/6/2021
1.0.214 456 7/6/2021
1.0.213 455 7/6/2021
1.0.212 657 5/14/2021
1.0.211 448 5/11/2021
1.0.210 418 5/11/2021
1.0.209 426 5/11/2021
1.0.208 423 5/11/2021
1.0.207 433 5/3/2021
1.0.206 510 5/3/2021
1.0.205 447 5/3/2021
1.0.204 460 5/3/2021
1.0.203 456 4/15/2021
1.0.202 437 4/15/2021
1.0.201 429 4/15/2021
1.0.200 443 4/15/2021
1.0.199 426 4/14/2021
1.0.198 538 3/19/2021
1.0.197 457 3/9/2021
1.0.196 447 3/9/2021
1.0.195 427 3/9/2021
1.0.194 478 3/9/2021
1.0.193 481 3/9/2021
1.0.192 483 3/9/2021
1.0.191 469 2/12/2021
1.0.190 557 1/21/2021
1.0.189 512 1/21/2021
1.0.188 472 1/21/2021
1.0.187 465 1/21/2021
1.0.186 534 1/8/2021
1.0.185 478 1/8/2021
1.0.184 520 11/13/2020
1.0.183 492 11/13/2020
1.0.182 495 11/13/2020
1.0.181 577 10/13/2020
1.0.180 609 10/12/2020
1.0.179 594 8/31/2020
1.0.178 568 8/4/2020
1.0.177 564 7/21/2020
1.0.176 539 7/10/2020
1.0.175 560 7/10/2020
1.0.174 615 5/20/2020
1.0.173 588 5/20/2020
1.0.172 603 5/20/2020
1.0.171 615 5/8/2020
1.0.170 591 4/9/2020
1.0.169 587 4/3/2020
1.0.168 578 3/25/2020
1.0.167 652 3/23/2020
1.0.166 639 2/6/2020
1.0.165 638 12/30/2019
1.0.164 641 12/28/2019
1.0.163 594 12/28/2019
1.0.162 634 12/5/2019
1.0.161 621 12/5/2019
1.0.160 610 11/20/2019
1.0.159 647 10/14/2019
1.0.158 616 10/13/2019
1.0.157 626 10/3/2019
1.0.156 640 9/17/2019
1.0.155 650 9/15/2019
1.0.154 692 6/20/2019
1.0.153 651 6/20/2019
1.0.152 719 6/6/2019
1.0.151 665 6/4/2019
1.0.150 687 5/25/2019
1.0.149 681 5/23/2019
1.0.148 685 5/16/2019
1.0.147 685 5/16/2019
1.0.146 672 5/16/2019
1.0.145 666 5/16/2019