public async Task ShouldGetTermAtIndex() { var log = new InMemoryLog(); await log.Apply(new LogEntry(new FakeCommand("test"), typeof(string), 1)); log.GetTermAtIndex(1).Result.ShouldBe(1); }
public void ShouldGetTermAtIndex() { var log = new InMemoryLog(); log.Apply(new LogEntry(new FakeCommand("test"), typeof(string), 1)); log.GetTermAtIndex(1).ShouldBe(1); }