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