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

ErrorEventWithCallerIdAndCorrelationIdIsWrittenToLog() private method

        public void ErrorEventWithCallerIdAndCorrelationIdIsWrittenToLog()
        {
            correlation.CorrelationId.Returns(CorrelationId);
            correlation.CallerId.Returns(CallerId);
            sut.LogError(correlation, Message, MessageParams);

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