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

ErrorEventWithCorrelationIdIsWrittenToLog() private method

private ErrorEventWithCorrelationIdIsWrittenToLog ( ) : void
return void
        public void ErrorEventWithCorrelationIdIsWrittenToLog()
        {
            correlation.CorrelationId.Returns(CorrelationId);
            sut.LogError(correlation, Message, MessageParams);

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