Affecto.Logging.Tests.LoggerTests.WarningEventWithCallerIdAndCorrelationIdIsWrittenToLog C# (CSharp) Method

WarningEventWithCallerIdAndCorrelationIdIsWrittenToLog() private method

        public void WarningEventWithCallerIdAndCorrelationIdIsWrittenToLog()
        {
            correlation.CorrelationId.Returns(CorrelationId);
            correlation.CallerId.Returns(CallerId);
            sut.LogWarning(correlation, Message, MessageParams);

            AssertCall(correlation, LogEventLevel.Warning, null, Message, MessageParams);
        }