public void AppendLogEntry() { ILog log = new InMemoryLog(); var newLogEntry = new LogEntry("System.String", null, 123L); log.AppendAsync(newLogEntry).Wait(); var lastLog = log.GetAsync(1L).Result; Assert.NotNull(lastLog); Assert.Equal(newLogEntry.CommandData, lastLog.CommandData); Assert.Equal(newLogEntry.Term, lastLog.Term); }