AutoMockTest.

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

Summary

The default constructor with available logging level

Syntax

protected AutoMockTest(ITestOutputHelper outputHelper, LogEventLevel 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 LogEventLevel
mockBehavior MockBehavior
logFormat string
configureLogger Action<LoggerConfiguration>

Return Value

Type Description
void