public void can_get_value_from_store() { var(key, value) = CheckpointFixture.GetSeekData().First(); using var store = new CheckpointStore(fixture.CheckpointPath); store.Contains(key).Should().BeTrue(); store.TryGet(key).Should().BeEquivalentTo(value); }
public void contains_false_for_missing_key() { using var store = new CheckpointStore(fixture.CheckpointPath); store.Contains(Bytes("invalid-key")).Should().BeFalse(); }