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

ErrorExceptionEventWithCorrelationIdIsWrittenToLog() private method

        public void ErrorExceptionEventWithCorrelationIdIsWrittenToLog()
        {
            correlation.CorrelationId.Returns(CorrelationId);
            sut.LogError(correlation, Exception, Message, MessageParams);

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