예제 #1
0
        public void ShouldApplyLog()
        {
            var index = _log.Apply(new LogEntry(new FakeCommand("test"), typeof(string), 1));

            index.ShouldBe(1);
        }
예제 #2
0
        public async Task ShouldApplyLog()
        {
            var index = await _log.Apply(new LogEntry(new FakeCommand("test"), typeof(string), 1));

            index.ShouldBe(1);
        }