NExpect.Matchers.NSubstitute 2.0.116

Prefix Reserved
dotnet add package NExpect.Matchers.NSubstitute --version 2.0.116
                    
NuGet\Install-Package NExpect.Matchers.NSubstitute -Version 2.0.116
                    
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.116" />
                    
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.116" />
                    
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.116
                    
#r "nuget: NExpect.Matchers.NSubstitute, 2.0.116"
                    
#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.116
                    
Install NExpect.Matchers.NSubstitute as a Cake Addin
#tool nuget:?package=NExpect.Matchers.NSubstitute&version=2.0.116
                    
Install NExpect.Matchers.NSubstitute 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. 
.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 438 3/24/2025
2.0.115 454 2/25/2025
2.0.114 166 2/13/2025
2.0.113 109 2/12/2025
2.0.112 98 2/12/2025
2.0.111 475 12/17/2024
2.0.110 1,622 11/13/2024
2.0.109 145 11/1/2024
2.0.108 261 10/23/2024
2.0.107 108 10/23/2024
2.0.106 119 10/22/2024
2.0.105 1,615 9/11/2024
2.0.104 572 8/30/2024
2.0.103 103 8/30/2024
2.0.102 1,563 6/19/2024
2.0.101 142 6/11/2024
2.0.100 209 6/10/2024
2.0.99 171 6/5/2024
2.0.98 99 6/3/2024
2.0.97 95 6/3/2024
2.0.96 91 6/3/2024
2.0.95 256 5/17/2024
2.0.94 503 5/17/2024
2.0.93 138 5/17/2024
2.0.92 333 4/29/2024
2.0.91 260 4/17/2024
2.0.90 148 4/15/2024
2.0.89 152 4/8/2024
2.0.88 144 4/5/2024
2.0.87 101 4/5/2024
2.0.86 126 4/5/2024
2.0.85 105 4/5/2024
2.0.84 103 4/4/2024
2.0.83 438 4/3/2024
2.0.82 714 4/2/2024
2.0.81 259 3/13/2024
2.0.80 124 3/13/2024
2.0.79 184 3/11/2024
2.0.78 179 3/5/2024
2.0.77 248 2/27/2024
2.0.76 112 2/26/2024
2.0.75 210 2/22/2024
2.0.74 138 2/22/2024
2.0.73 166 2/19/2024
2.0.72 147 2/15/2024
2.0.71 272 2/13/2024
2.0.70 286 2/13/2024
2.0.69 579 2/7/2024
2.0.68 169 2/6/2024
2.0.67 179 2/5/2024
2.0.66 159 2/2/2024
2.0.65 180 1/30/2024
2.0.64 296 1/18/2024
2.0.63 382 1/15/2024
2.0.62 164 1/12/2024
2.0.61 119 1/12/2024
2.0.60 169 1/10/2024
2.0.59 179 1/9/2024
2.0.58 633 12/13/2023
2.0.57 649 11/28/2023
2.0.56 153 11/28/2023
2.0.55 480 11/17/2023
2.0.54 212 11/17/2023
2.0.53 140 11/17/2023
2.0.52 446 10/30/2023
2.0.51 231 10/26/2023
2.0.50 411 10/12/2023
2.0.49 352 9/28/2023
2.0.48 205 9/22/2023
2.0.47 123 9/21/2023
2.0.46 170 9/20/2023
2.0.45 345 9/14/2023
2.0.44 164 9/14/2023
2.0.43 690 8/25/2023
2.0.42 155 8/25/2023
2.0.42-2308241227.f6c25ee 79 8/24/2023
2.0.42-2308161448.98b76da 83 8/16/2023
2.0.42-2308161446.ec7a107 74 8/16/2023
2.0.42-2308161429.74c00e2 84 8/16/2023
2.0.41 345 8/14/2023
2.0.40 272 8/4/2023
2.0.39 177 8/4/2023
2.0.38 154 8/4/2023
2.0.37 170 8/4/2023
2.0.36 178 8/4/2023
2.0.35 157 8/4/2023
2.0.34 821 6/22/2023
2.0.33 152 6/22/2023
2.0.32 175 6/22/2023
2.0.32-2306151149.332886a 90 6/15/2023
2.0.32-2306151140.93d85dc 85 6/15/2023
2.0.32-2306150947.3b80752 89 6/15/2023
2.0.31 281 6/12/2023
2.0.30 382 6/9/2023
2.0.30-2306091428.6fc0bd3 88 6/9/2023
2.0.30-2306091304.51d4d0b 92 6/9/2023
2.0.30-2306091204.1fe4d76 91 6/9/2023
2.0.30-2306090857.5be3155 89 6/9/2023
2.0.30-2306081701.3a525ef 91 6/8/2023
2.0.30-2306081646.5a15be2 89 6/8/2023
2.0.30-2306081628.68f2d91 92 6/8/2023
2.0.30-2306081611.3c4f19f 91 6/8/2023
2.0.30-2306081557.4fa2105 92 6/8/2023
2.0.30-2306081119.fdddf3b 91 6/8/2023
2.0.30-2306081053.68ba9f2 93 6/8/2023
2.0.30-2306080900.1b126b1 93 6/8/2023
2.0.29 390 5/23/2023
2.0.28 241 5/18/2023
2.0.27 196 5/12/2023
2.0.26 197 5/12/2023
2.0.25 282 4/26/2023
2.0.24 1,199 2/1/2023
2.0.23 317 1/30/2023
2.0.22 542 1/26/2023
2.0.21 318 1/25/2023
2.0.20 332 1/25/2023
2.0.19 867 11/30/2022
2.0.18 714 11/14/2022
2.0.17 1,130 10/19/2022
2.0.16 462 10/17/2022
2.0.15 415 10/17/2022
2.0.14 507 10/3/2022
2.0.13 422 10/3/2022
2.0.12 465 10/3/2022
2.0.11 515 9/27/2022
2.0.10 546 9/20/2022
2.0.9 479 9/19/2022
2.0.8 534 9/15/2022
2.0.7 558 9/14/2022
2.0.6 472 9/13/2022
2.0.5 435 9/13/2022
2.0.4 428 9/13/2022
2.0.3 499 9/9/2022
2.0.2 440 9/9/2022
2.0.1 447 9/9/2022
1.0.276 2,472 8/17/2022
1.0.275 441 8/17/2022
1.0.274 1,077 7/28/2022
1.0.273 799 7/14/2022
1.0.272 496 7/14/2022
1.0.271 480 7/13/2022
1.0.270 714 7/7/2022
1.0.269 468 7/7/2022
1.0.268 988 6/20/2022
1.0.267 603 6/14/2022
1.0.266 721 6/9/2022
1.0.265 946 5/27/2022
1.0.264 572 5/24/2022
1.0.263 493 5/23/2022
1.0.262 542 5/17/2022
1.0.261 495 5/16/2022
1.0.260 493 5/16/2022
1.0.259 946 5/6/2022
1.0.258 512 5/5/2022
1.0.257 477 5/5/2022
1.0.256 512 5/4/2022
1.0.255 482 5/4/2022
1.0.254 910 4/5/2022
1.0.253 503 4/5/2022
1.0.252 525 4/4/2022
1.0.251 553 3/22/2022
1.0.250 1,516 2/3/2022
1.0.249 549 1/28/2022
1.0.248 515 1/27/2022
1.0.247 529 1/26/2022
1.0.246 544 1/25/2022
1.0.245 538 1/18/2022
1.0.244 508 1/18/2022
1.0.243 526 1/12/2022
1.0.242 566 12/10/2021
1.0.241 365 12/10/2021
1.0.240 371 12/10/2021
1.0.239 412 12/6/2021
1.0.238 367 12/6/2021
1.0.237 359 12/2/2021
1.0.236 332 12/2/2021
1.0.235 348 12/2/2021
1.0.234 349 12/2/2021
1.0.233 547 11/18/2021
1.0.232 358 11/18/2021
1.0.231 577 11/9/2021
1.0.228 398 11/9/2021
1.0.227 607 10/14/2021
1.0.226 846 9/2/2021
1.0.225 415 8/31/2021
1.0.224 456 8/30/2021
1.0.223 600 8/6/2021
1.0.222 445 8/6/2021
1.0.221 439 8/6/2021
1.0.220 460 8/3/2021
1.0.219 493 7/30/2021
1.0.218 662 7/7/2021
1.0.217 409 7/7/2021
1.0.216 447 7/7/2021
1.0.215 469 7/6/2021
1.0.214 426 7/6/2021
1.0.213 426 7/6/2021
1.0.212 614 5/14/2021
1.0.211 417 5/11/2021
1.0.210 387 5/11/2021
1.0.209 391 5/11/2021
1.0.208 392 5/11/2021
1.0.207 400 5/3/2021
1.0.206 478 5/3/2021
1.0.205 412 5/3/2021
1.0.204 426 5/3/2021
1.0.203 420 4/15/2021
1.0.202 402 4/15/2021
1.0.201 395 4/15/2021
1.0.200 411 4/15/2021
1.0.199 394 4/14/2021
1.0.198 466 3/19/2021
1.0.197 423 3/9/2021
1.0.196 415 3/9/2021
1.0.195 392 3/9/2021
1.0.194 446 3/9/2021
1.0.193 446 3/9/2021
1.0.192 450 3/9/2021
1.0.191 434 2/12/2021
1.0.190 524 1/21/2021
1.0.189 476 1/21/2021
1.0.188 438 1/21/2021
1.0.187 431 1/21/2021
1.0.186 497 1/8/2021
1.0.185 444 1/8/2021
1.0.184 486 11/13/2020
1.0.183 455 11/13/2020
1.0.182 460 11/13/2020
1.0.181 543 10/13/2020
1.0.180 573 10/12/2020
1.0.179 557 8/31/2020
1.0.178 533 8/4/2020
1.0.177 527 7/21/2020
1.0.176 500 7/10/2020
1.0.175 524 7/10/2020
1.0.174 573 5/20/2020
1.0.173 546 5/20/2020
1.0.172 563 5/20/2020
1.0.171 576 5/8/2020
1.0.170 549 4/9/2020
1.0.169 545 4/3/2020
1.0.168 532 3/25/2020
1.0.167 612 3/23/2020
1.0.166 599 2/6/2020
1.0.165 599 12/30/2019
1.0.164 598 12/28/2019
1.0.163 553 12/28/2019
1.0.162 592 12/5/2019
1.0.161 582 12/5/2019
1.0.160 569 11/20/2019
1.0.159 603 10/14/2019
1.0.158 572 10/13/2019
1.0.157 582 10/3/2019
1.0.156 598 9/17/2019
1.0.155 608 9/15/2019
1.0.154 649 6/20/2019
1.0.153 607 6/20/2019
1.0.152 674 6/6/2019
1.0.151 624 6/4/2019
1.0.150 643 5/25/2019
1.0.149 639 5/23/2019
1.0.148 642 5/16/2019
1.0.147 642 5/16/2019
1.0.146 628 5/16/2019
1.0.145 620 5/16/2019