public async Task TryGet_returnsExistingValue_keyExits() { await PartitionedStorage.Add(TestKey, TestValue("added")); var value = await PartitionedStorage.TryGet(TestKey, 1); value.Should().BeEquivalentTo( new { Value = TestValue("added") with { Audit = Audit() } },
public async Task TryGet_returnsNone_noKey() { var value = await PartitionedStorage.TryGet(TestKey, 1); value.Should().Be((Option <ValueRecord>)Option.None); }