public void Error_MessageWithException()
        {
            // Prepare
            const string message = "Exception occurred";
            var ex = new Exception(message);
            logger.Setup(l => l.Write(
                       LogEventLevel.Error, ex, message, null))
                    .Verifiable();
            log = new SerilogLogger(logger.Object);

            // Act
            log.Error(message, ex);

            // Assert
            logger.VerifyAll();
        }
        public void Error_LambdaMessage()
        {
            // Prepare
            const string message = "Simple Message";
            logger.Setup(l => l.Write(
                       LogEventLevel.Error, message, null))
                    .Verifiable();
            log = new SerilogLogger(logger.Object);

            // Act
            log.Error(message);

            // Assert
            logger.VerifyAll();
        }