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

            _log.GetTermAtIndex(1).Result.ShouldBe(1);
        }