public async Task Should_not_log_if_no_exception_happened() { await sut.Invoke(context); A.CallTo(() => log.Log(A <SemanticLogLevel> .Ignored, A <None> .Ignored, A <Action <None, IObjectWriter> > .Ignored)) .MustNotHaveHappened(); }
public async Task Should_not_log_if_no_exception_happened() { await sut.Invoke(context); A.CallTo(() => log.Log(A <SemanticLogLevel> ._, A <Exception?> ._, A <LogFormatter> ._ !)) .MustNotHaveHappened(); }
public async Task Should_not_log_if_no_exception_happened() { await sut.Invoke(context); A.CallTo(() => logFactory.CreateLogger(A <string> ._)) .MustNotHaveHappened(); }