public async Task Test_FdbCounter_Can_Increment_And_SetTotal()
		{
			using (var db = await OpenTestPartitionAsync())
			{
				var location = await GetCleanDirectory(db, "counters", "simple");

				var counter = new FdbHighContentionCounter(db, location);

				await counter.AddAsync(100, this.Cancellation);
				Assert.That(await counter.GetSnapshotAsync(this.Cancellation), Is.EqualTo(100));

				await counter.AddAsync(-10, this.Cancellation);
				Assert.That(await counter.GetSnapshotAsync(this.Cancellation), Is.EqualTo(90));

				await counter.SetTotalAsync(500, this.Cancellation);
				Assert.That(await counter.GetSnapshotAsync(this.Cancellation), Is.EqualTo(500));
			}
		}
        public async Task Test_FdbCounter_Can_Increment_And_SetTotal()
        {
            using (var db = await OpenTestPartitionAsync())
            {
                var location = await GetCleanDirectory(db, "counters", "simple");

                var counter = new FdbHighContentionCounter(db, location);

                await counter.AddAsync(100, this.Cancellation);

                Assert.That(await counter.GetSnapshotAsync(this.Cancellation), Is.EqualTo(100));

                await counter.AddAsync(-10, this.Cancellation);

                Assert.That(await counter.GetSnapshotAsync(this.Cancellation), Is.EqualTo(90));

                await counter.SetTotalAsync(500, this.Cancellation);

                Assert.That(await counter.GetSnapshotAsync(this.Cancellation), Is.EqualTo(500));
            }
        }