HardMock for legacy code
TDD is dead : only for legacy code that doesn't have HardMock! Record your Mock from integration test when you have lots of Legacy code.
Install-Package HardMock -Version 1.0.49
dotnet add package HardMock --version 1.0.49
<PackageReference Include="HardMock" Version="1.0.49" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HardMock --version 1.0.49
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Sample : https://hardmock.codeplex.com/SourceControl/latest#HardMock/AcceptanceTests/Demo.cs