public void CreateFromLogEntryTest() { ApplicationLogEntity entity = ApplicationLogEntityManager.CreateFromLogEntry(new LogEntry { ApplicationName = "myApplication", TimeStamp = new DateTime(2015, 3, 2, 0, 0, 0), Message = "This is a log message" }, null); Assert.AreEqual("myApplication_201503", entity.PartitionKey); Assert.AreNotEqual(Guid.Empty.ToString(), entity.RowKey); Assert.AreEqual("This is a log message", entity.Message); }