NExpect.Matchers.NSubstitute 2.0.7

Prefix Reserved
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.7                
NuGet\Install-Package NExpect.Matchers.NSubstitute -Version 2.0.7                
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.7" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NExpect.Matchers.NSubstitute --version 2.0.7                
#r "nuget: NExpect.Matchers.NSubstitute, 2.0.7"                
#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.
// Install NExpect.Matchers.NSubstitute as a Cake Addin
#addin nuget:?package=NExpect.Matchers.NSubstitute&version=2.0.7

// Install NExpect.Matchers.NSubstitute as a Cake Tool
#tool nuget:?package=NExpect.Matchers.NSubstitute&version=2.0.7                

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. 
.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.105 140 9/11/2024
2.0.104 263 8/30/2024
2.0.103 67 8/30/2024
2.0.102 1,269 6/19/2024
2.0.101 120 6/11/2024
2.0.100 180 6/10/2024
2.0.99 154 6/5/2024
2.0.98 86 6/3/2024
2.0.97 61 6/3/2024
2.0.96 66 6/3/2024
2.0.95 206 5/17/2024
2.0.94 475 5/17/2024
2.0.93 110 5/17/2024
2.0.92 273 4/29/2024
2.0.91 228 4/17/2024
2.0.90 132 4/15/2024
2.0.89 123 4/8/2024
2.0.88 131 4/5/2024
2.0.87 77 4/5/2024
2.0.86 93 4/5/2024
2.0.85 73 4/5/2024
2.0.84 90 4/4/2024
2.0.83 410 4/3/2024
2.0.82 669 4/2/2024
2.0.81 227 3/13/2024
2.0.80 102 3/13/2024
2.0.79 159 3/11/2024
2.0.78 135 3/5/2024
2.0.77 212 2/27/2024
2.0.76 101 2/26/2024
2.0.75 196 2/22/2024
2.0.74 107 2/22/2024
2.0.73 143 2/19/2024
2.0.72 132 2/15/2024
2.0.71 242 2/13/2024
2.0.70 258 2/13/2024
2.0.69 371 2/7/2024
2.0.68 138 2/6/2024
2.0.67 164 2/5/2024
2.0.66 136 2/2/2024
2.0.65 154 1/30/2024
2.0.64 272 1/18/2024
2.0.63 356 1/15/2024
2.0.62 138 1/12/2024
2.0.61 95 1/12/2024
2.0.60 140 1/10/2024
2.0.59 169 1/9/2024
2.0.58 607 12/13/2023
2.0.57 630 11/28/2023
2.0.56 130 11/28/2023
2.0.55 453 11/17/2023
2.0.54 184 11/17/2023
2.0.53 116 11/17/2023
2.0.52 392 10/30/2023
2.0.51 217 10/26/2023
2.0.50 388 10/12/2023
2.0.49 325 9/28/2023
2.0.48 173 9/22/2023
2.0.47 94 9/21/2023
2.0.46 145 9/20/2023
2.0.45 320 9/14/2023
2.0.44 132 9/14/2023
2.0.43 665 8/25/2023
2.0.42 131 8/25/2023
2.0.42-2308241227.f6c25ee 68 8/24/2023
2.0.42-2308161448.98b76da 70 8/16/2023
2.0.42-2308161446.ec7a107 60 8/16/2023
2.0.42-2308161429.74c00e2 66 8/16/2023
2.0.41 317 8/14/2023
2.0.40 243 8/4/2023
2.0.39 150 8/4/2023
2.0.38 140 8/4/2023
2.0.37 137 8/4/2023
2.0.36 149 8/4/2023
2.0.35 142 8/4/2023
2.0.34 628 6/22/2023
2.0.33 127 6/22/2023
2.0.32 139 6/22/2023
2.0.32-2306151149.332886a 74 6/15/2023
2.0.32-2306151140.93d85dc 70 6/15/2023
2.0.32-2306150947.3b80752 69 6/15/2023
2.0.31 242 6/12/2023
2.0.30 352 6/9/2023
2.0.30-2306091428.6fc0bd3 73 6/9/2023
2.0.30-2306091304.51d4d0b 75 6/9/2023
2.0.30-2306091204.1fe4d76 74 6/9/2023
2.0.30-2306090857.5be3155 73 6/9/2023
2.0.30-2306081701.3a525ef 75 6/8/2023
2.0.30-2306081646.5a15be2 73 6/8/2023
2.0.30-2306081628.68f2d91 73 6/8/2023
2.0.30-2306081611.3c4f19f 71 6/8/2023
2.0.30-2306081557.4fa2105 76 6/8/2023
2.0.30-2306081119.fdddf3b 74 6/8/2023
2.0.30-2306081053.68ba9f2 76 6/8/2023
2.0.30-2306080900.1b126b1 76 6/8/2023
2.0.29 357 5/23/2023
2.0.28 226 5/18/2023
2.0.27 163 5/12/2023
2.0.26 163 5/12/2023
2.0.25 267 4/26/2023
2.0.24 1,179 2/1/2023
2.0.23 300 1/30/2023
2.0.22 512 1/26/2023
2.0.21 287 1/25/2023
2.0.20 296 1/25/2023
2.0.19 832 11/30/2022
2.0.18 678 11/14/2022
2.0.17 1,082 10/19/2022
2.0.16 423 10/17/2022
2.0.15 392 10/17/2022
2.0.14 472 10/3/2022
2.0.13 381 10/3/2022
2.0.12 429 10/3/2022
2.0.11 477 9/27/2022
2.0.10 509 9/20/2022
2.0.9 443 9/19/2022
2.0.8 510 9/15/2022
2.0.7 521 9/14/2022
2.0.6 436 9/13/2022
2.0.5 411 9/13/2022
2.0.4 404 9/13/2022
2.0.3 475 9/9/2022
2.0.2 402 9/9/2022
2.0.1 412 9/9/2022
1.0.276 2,393 8/17/2022
1.0.275 419 8/17/2022
1.0.274 1,039 7/28/2022
1.0.273 775 7/14/2022
1.0.272 458 7/14/2022
1.0.271 443 7/13/2022
1.0.270 677 7/7/2022
1.0.269 431 7/7/2022
1.0.268 901 6/20/2022
1.0.267 581 6/14/2022
1.0.266 684 6/9/2022
1.0.265 902 5/27/2022
1.0.264 536 5/24/2022
1.0.263 468 5/23/2022
1.0.262 502 5/17/2022
1.0.261 459 5/16/2022
1.0.260 457 5/16/2022
1.0.259 897 5/6/2022
1.0.258 474 5/5/2022
1.0.257 453 5/5/2022
1.0.256 487 5/4/2022
1.0.255 457 5/4/2022
1.0.254 869 4/5/2022
1.0.253 460 4/5/2022
1.0.252 484 4/4/2022
1.0.251 528 3/22/2022
1.0.250 1,336 2/3/2022
1.0.249 506 1/28/2022
1.0.248 489 1/27/2022
1.0.247 490 1/26/2022
1.0.246 500 1/25/2022
1.0.245 499 1/18/2022
1.0.244 463 1/18/2022
1.0.243 486 1/12/2022
1.0.242 524 12/10/2021
1.0.241 325 12/10/2021
1.0.240 328 12/10/2021
1.0.239 371 12/6/2021
1.0.238 328 12/6/2021
1.0.237 318 12/2/2021
1.0.236 289 12/2/2021
1.0.235 307 12/2/2021
1.0.234 309 12/2/2021
1.0.233 501 11/18/2021
1.0.232 319 11/18/2021
1.0.231 532 11/9/2021
1.0.228 351 11/9/2021
1.0.227 566 10/14/2021
1.0.226 819 9/2/2021
1.0.225 372 8/31/2021
1.0.224 415 8/30/2021
1.0.223 562 8/6/2021
1.0.222 403 8/6/2021
1.0.221 398 8/6/2021
1.0.220 420 8/3/2021
1.0.219 452 7/30/2021
1.0.218 621 7/7/2021
1.0.217 368 7/7/2021
1.0.216 404 7/7/2021
1.0.215 443 7/6/2021
1.0.214 389 7/6/2021
1.0.213 387 7/6/2021
1.0.212 563 5/14/2021
1.0.211 380 5/11/2021
1.0.210 349 5/11/2021
1.0.209 350 5/11/2021
1.0.208 353 5/11/2021
1.0.207 359 5/3/2021
1.0.206 431 5/3/2021
1.0.205 370 5/3/2021
1.0.204 398 5/3/2021
1.0.203 376 4/15/2021
1.0.202 358 4/15/2021
1.0.201 356 4/15/2021
1.0.200 368 4/15/2021
1.0.199 353 4/14/2021
1.0.198 414 3/19/2021
1.0.197 380 3/9/2021
1.0.196 372 3/9/2021
1.0.195 360 3/9/2021
1.0.194 401 3/9/2021
1.0.193 402 3/9/2021
1.0.192 405 3/9/2021
1.0.191 389 2/12/2021
1.0.190 472 1/21/2021
1.0.189 428 1/21/2021
1.0.188 409 1/21/2021
1.0.187 388 1/21/2021
1.0.186 450 1/8/2021
1.0.185 402 1/8/2021
1.0.184 440 11/13/2020
1.0.183 406 11/13/2020
1.0.182 418 11/13/2020
1.0.181 496 10/13/2020
1.0.180 529 10/12/2020
1.0.179 510 8/31/2020
1.0.178 491 8/4/2020
1.0.177 480 7/21/2020
1.0.176 452 7/10/2020
1.0.175 480 7/10/2020
1.0.174 528 5/20/2020
1.0.173 498 5/20/2020
1.0.172 514 5/20/2020
1.0.171 531 5/8/2020
1.0.170 503 4/9/2020
1.0.169 500 4/3/2020
1.0.168 485 3/25/2020
1.0.167 563 3/23/2020
1.0.166 554 2/6/2020
1.0.165 549 12/30/2019
1.0.164 553 12/28/2019
1.0.163 509 12/28/2019
1.0.162 547 12/5/2019
1.0.161 537 12/5/2019
1.0.160 525 11/20/2019
1.0.159 556 10/14/2019
1.0.158 521 10/13/2019
1.0.157 534 10/3/2019
1.0.156 550 9/17/2019
1.0.155 560 9/15/2019
1.0.154 597 6/20/2019
1.0.153 575 6/20/2019
1.0.152 626 6/6/2019
1.0.151 578 6/4/2019
1.0.150 596 5/25/2019
1.0.149 591 5/23/2019
1.0.148 590 5/16/2019
1.0.147 594 5/16/2019
1.0.146 563 5/16/2019
1.0.145 569 5/16/2019