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

WarningExceptionEventWithCallerIdAndCorrelationIdIsWrittenToLog() private method

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

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