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

CriticalExceptionEventWithCallerIdAndCorrelationIdIsWrittenToLog() private method

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

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