public void User() { var item = new EventLogRow(Guid.NewGuid()); var data = StringHelper.ValidString(); item.User = data; Assert.AreEqual <string>(data, item.User); }
public void EventLogEntryTypeValue() { var random = new Random(); var item = new EventLogRow(Guid.NewGuid()); Assert.AreEqual <int>(0, item.EntryTypeValue); var data = random.Next(); item.EntryTypeValue = data; Assert.AreEqual <int>(data, item.EntryTypeValue); }
public void InstanceId() { var random = new Random(); var item = new EventLogRow(Guid.NewGuid()); Assert.IsNull(item.InstanceId); var data = random.Next(); item.InstanceId = data; Assert.AreEqual <long?>(data, item.InstanceId); }
public void ConstructorApplicationIdentifier() { var item = new EventLogRow(Guid.NewGuid()); }