Dotnet, Development, C Sharp Programming, Csharp, Microsoft.
no delay when the MethodWithDelay is executed in the unit test: [Fact] public async Task MethodWithDelay_ShouldHaveNoDelay_WhenUsingNoDelayTimeProvider() { // Arrange var noDelayTimeProvider = new NoDelayTimeProvider(); var demoService = new DemoService(noDelayTimeProvider); // Act var startTime =