NExpect.Matchers.NSubstitute 2.0.91

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package NExpect.Matchers.NSubstitute --version 2.0.91
NuGet\Install-Package NExpect.Matchers.NSubstitute -Version 2.0.91
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.91" />
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.91
#r "nuget: NExpect.Matchers.NSubstitute, 2.0.91"
#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.91

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

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.91 169 4/17/2024
2.0.90 115 4/15/2024
2.0.89 110 4/8/2024
2.0.88 92 4/5/2024
2.0.87 64 4/5/2024
2.0.86 81 4/5/2024
2.0.85 59 4/5/2024
2.0.84 79 4/4/2024
2.0.83 215 4/3/2024
2.0.82 310 4/2/2024
2.0.81 210 3/13/2024
2.0.80 88 3/13/2024
2.0.79 143 3/11/2024
2.0.78 110 3/5/2024
2.0.77 177 2/27/2024
2.0.76 89 2/26/2024
2.0.75 183 2/22/2024
2.0.74 95 2/22/2024
2.0.73 129 2/19/2024
2.0.72 116 2/15/2024
2.0.71 232 2/13/2024
2.0.70 237 2/13/2024
2.0.69 264 2/7/2024
2.0.68 127 2/6/2024
2.0.67 151 2/5/2024
2.0.66 124 2/2/2024
2.0.65 141 1/30/2024
2.0.64 261 1/18/2024
2.0.63 344 1/15/2024
2.0.62 126 1/12/2024
2.0.61 82 1/12/2024
2.0.60 132 1/10/2024
2.0.59 158 1/9/2024
2.0.58 592 12/13/2023
2.0.57 536 11/28/2023
2.0.56 119 11/28/2023
2.0.55 445 11/17/2023
2.0.54 175 11/17/2023
2.0.53 106 11/17/2023
2.0.52 314 10/30/2023
2.0.51 207 10/26/2023
2.0.50 377 10/12/2023
2.0.49 314 9/28/2023
2.0.48 162 9/22/2023
2.0.47 84 9/21/2023
2.0.46 135 9/20/2023
2.0.45 307 9/14/2023
2.0.44 123 9/14/2023
2.0.43 654 8/25/2023
2.0.42 122 8/25/2023
2.0.42-2308241227.f6c25ee 60 8/24/2023
2.0.42-2308161448.98b76da 65 8/16/2023
2.0.42-2308161446.ec7a107 56 8/16/2023
2.0.42-2308161429.74c00e2 62 8/16/2023
2.0.41 309 8/14/2023
2.0.40 236 8/4/2023
2.0.39 142 8/4/2023
2.0.38 132 8/4/2023
2.0.37 129 8/4/2023
2.0.36 141 8/4/2023
2.0.35 135 8/4/2023
2.0.34 509 6/22/2023
2.0.33 119 6/22/2023
2.0.32 130 6/22/2023
2.0.32-2306151149.332886a 68 6/15/2023
2.0.32-2306151140.93d85dc 64 6/15/2023
2.0.32-2306150947.3b80752 65 6/15/2023
2.0.31 234 6/12/2023
2.0.30 345 6/9/2023
2.0.30-2306091428.6fc0bd3 69 6/9/2023
2.0.30-2306091304.51d4d0b 70 6/9/2023
2.0.30-2306091204.1fe4d76 69 6/9/2023
2.0.30-2306090857.5be3155 68 6/9/2023
2.0.30-2306081701.3a525ef 69 6/8/2023
2.0.30-2306081646.5a15be2 68 6/8/2023
2.0.30-2306081628.68f2d91 68 6/8/2023
2.0.30-2306081611.3c4f19f 66 6/8/2023
2.0.30-2306081557.4fa2105 70 6/8/2023
2.0.30-2306081119.fdddf3b 69 6/8/2023
2.0.30-2306081053.68ba9f2 70 6/8/2023
2.0.30-2306080900.1b126b1 70 6/8/2023
2.0.29 345 5/23/2023
2.0.28 218 5/18/2023
2.0.27 156 5/12/2023
2.0.26 153 5/12/2023
2.0.25 256 4/26/2023
2.0.24 1,165 2/1/2023
2.0.23 289 1/30/2023
2.0.22 503 1/26/2023
2.0.21 277 1/25/2023
2.0.20 279 1/25/2023
2.0.19 795 11/30/2022
2.0.18 672 11/14/2022
2.0.17 1,056 10/19/2022
2.0.16 415 10/17/2022
2.0.15 384 10/17/2022
2.0.14 463 10/3/2022
2.0.13 373 10/3/2022
2.0.12 420 10/3/2022
2.0.11 470 9/27/2022
2.0.10 501 9/20/2022
2.0.9 434 9/19/2022
2.0.8 500 9/15/2022
2.0.7 506 9/14/2022
2.0.6 429 9/13/2022
2.0.5 403 9/13/2022
2.0.4 397 9/13/2022
2.0.3 469 9/9/2022
2.0.2 396 9/9/2022
2.0.1 406 9/9/2022
1.0.276 2,346 8/17/2022
1.0.275 410 8/17/2022
1.0.274 1,016 7/28/2022
1.0.273 767 7/14/2022
1.0.272 450 7/14/2022
1.0.271 436 7/13/2022
1.0.270 670 7/7/2022
1.0.269 424 7/7/2022
1.0.268 891 6/20/2022
1.0.267 573 6/14/2022
1.0.266 676 6/9/2022
1.0.265 895 5/27/2022
1.0.264 530 5/24/2022
1.0.263 462 5/23/2022
1.0.262 495 5/17/2022
1.0.261 451 5/16/2022
1.0.260 450 5/16/2022
1.0.259 889 5/6/2022
1.0.258 468 5/5/2022
1.0.257 447 5/5/2022
1.0.256 481 5/4/2022
1.0.255 450 5/4/2022
1.0.254 860 4/5/2022
1.0.253 452 4/5/2022
1.0.252 476 4/4/2022
1.0.251 520 3/22/2022
1.0.250 1,281 2/3/2022
1.0.249 494 1/28/2022
1.0.248 481 1/27/2022
1.0.247 481 1/26/2022
1.0.246 492 1/25/2022
1.0.245 491 1/18/2022
1.0.244 455 1/18/2022
1.0.243 479 1/12/2022
1.0.242 515 12/10/2021
1.0.241 316 12/10/2021
1.0.240 320 12/10/2021
1.0.239 363 12/6/2021
1.0.238 319 12/6/2021
1.0.237 310 12/2/2021
1.0.236 283 12/2/2021
1.0.235 301 12/2/2021
1.0.234 303 12/2/2021
1.0.233 492 11/18/2021
1.0.232 311 11/18/2021
1.0.231 526 11/9/2021
1.0.228 345 11/9/2021
1.0.227 556 10/14/2021
1.0.226 805 9/2/2021
1.0.225 364 8/31/2021
1.0.224 406 8/30/2021
1.0.223 551 8/6/2021
1.0.222 394 8/6/2021
1.0.221 388 8/6/2021
1.0.220 411 8/3/2021
1.0.219 440 7/30/2021
1.0.218 612 7/7/2021
1.0.217 360 7/7/2021
1.0.216 395 7/7/2021
1.0.215 434 7/6/2021
1.0.214 381 7/6/2021
1.0.213 379 7/6/2021
1.0.212 555 5/14/2021
1.0.211 372 5/11/2021
1.0.210 342 5/11/2021
1.0.209 343 5/11/2021
1.0.208 345 5/11/2021
1.0.207 350 5/3/2021
1.0.206 422 5/3/2021
1.0.205 361 5/3/2021
1.0.204 389 5/3/2021
1.0.203 366 4/15/2021
1.0.202 348 4/15/2021
1.0.201 347 4/15/2021
1.0.200 358 4/15/2021
1.0.199 344 4/14/2021
1.0.198 404 3/19/2021
1.0.197 373 3/9/2021
1.0.196 365 3/9/2021
1.0.195 351 3/9/2021
1.0.194 391 3/9/2021
1.0.193 394 3/9/2021
1.0.192 397 3/9/2021
1.0.191 379 2/12/2021
1.0.190 463 1/21/2021
1.0.189 420 1/21/2021
1.0.188 400 1/21/2021
1.0.187 379 1/21/2021
1.0.186 441 1/8/2021
1.0.185 393 1/8/2021
1.0.184 431 11/13/2020
1.0.183 398 11/13/2020
1.0.182 409 11/13/2020
1.0.181 484 10/13/2020
1.0.180 518 10/12/2020
1.0.179 502 8/31/2020
1.0.178 482 8/4/2020
1.0.177 470 7/21/2020
1.0.176 443 7/10/2020
1.0.175 470 7/10/2020
1.0.174 518 5/20/2020
1.0.173 489 5/20/2020
1.0.172 506 5/20/2020
1.0.171 523 5/8/2020
1.0.170 495 4/9/2020
1.0.169 492 4/3/2020
1.0.168 476 3/25/2020
1.0.167 555 3/23/2020
1.0.166 547 2/6/2020
1.0.165 541 12/30/2019
1.0.164 545 12/28/2019
1.0.163 500 12/28/2019
1.0.162 540 12/5/2019
1.0.161 529 12/5/2019
1.0.160 516 11/20/2019
1.0.159 547 10/14/2019
1.0.158 514 10/13/2019
1.0.157 526 10/3/2019
1.0.156 542 9/17/2019
1.0.155 552 9/15/2019
1.0.154 588 6/20/2019
1.0.153 567 6/20/2019
1.0.152 616 6/6/2019
1.0.151 570 6/4/2019
1.0.150 584 5/25/2019
1.0.149 581 5/23/2019
1.0.148 581 5/16/2019
1.0.147 586 5/16/2019
1.0.146 555 5/16/2019
1.0.145 562 5/16/2019