Beispiel #1
0
 public LogEntryBuilder(ILogger logger)
 {
     _logger = logger;
     LogEntry = new LogEntry();
 }
Beispiel #2
0
        public void ToString_ReturnsEmptyString_WhenLogEntryIsEmpty()
        {
            var logEntry = new LogEntry();

            string stringRepresentation = logEntry.ToString();

            Assert.IsEmpty(stringRepresentation);
        }