AutoMockTest.

AutoMockTest(ITestOutputHelper, LogLevel, MockBehavior, string, Action<LoggerConfiguration>) Constructor

Summary

The default constructor with available logging level

Syntax

protected AutoMockTest(ITestOutputHelper outputHelper, LogLevel minLevel, MockBehavior mockBehavior = 1, string logFormat = "[{Timestamp:HH:mm:ss} {Level:w4}] {Message}{NewLine}{Exception}", Action<LoggerConfiguration> configureLogger = null)

Parameters

Name Type Description
outputHelper ITestOutputHelper
minLevel LogLevel
mockBehavior MockBehavior
logFormat string
configureLogger Action<LoggerConfiguration>

Return Value

Type Description
void