public void Factory_IncludeScope_ExpectIncludeLoggingScopeSettings() { var settings = LoggingScopeSettings.IncludeLoggingScope(); Assert.True(settings.IncludeScope); Assert.Equal("Correlation", settings.CorrelationKey); }
public void IncludeLoggingScope_WhenEmptyInput_Throws(string input) { Assert.Throws <ArgumentNullException>(() => LoggingScopeSettings.IncludeLoggingScope(input)); }
public void Ctor_InstantiatedUsingDefault_ExpectNoPropagation(LoggingScopeSettings loggingScope) { Assert.False(loggingScope.IncludeScope); Assert.Equal("Correlation", loggingScope.CorrelationKey); }