public async Task ShouldDeleteConflict() { await _log.Apply(new LogEntry(new FakeCommand("test"), typeof(string), 1)); await _log.DeleteConflictsFromThisLog(1, new LogEntry(new FakeCommand("test"), typeof(string), 2)); _log.Count().Result.ShouldBe(0); }
public void ShouldDeleteConflict() { _log.Apply(new LogEntry(new FakeCommand("test"), typeof(string), 1)); _log.DeleteConflictsFromThisLog(1, new LogEntry(new FakeCommand("test"), typeof(string), 2)); _log.Count.ShouldBe(0); }