public void CloneCopiesAllTheProperties() { LogMessagesGroup item = CommonTestHelpers.Factory.CreateLogMessagesGroup(); System.Threading.Thread.Sleep(100); LogMessagesGroup clone = item.Clone(); Assert.AreEqual(JsonSerializer.Serialize(item), JsonSerializer.Serialize(clone)); }
public void NullMessagesThrowsException() { LogMessagesGroup item = new LogMessagesGroup(Constants.DefaultLoggerCategoryName, null); }
public void NullCategoryNameThrowsException(string categoryName) { LogMessagesGroup item = new LogMessagesGroup(categoryName, new List <LogMessage>()); }