public void TestPostgresMarten()
        {
            var testKey = new TestValue.Key(accountId: Guid.NewGuid());

            var testValueA = new TestValue(
                accountId: testKey.AccountId.Value,
                message: "Hello, world!");

            var testValueB = new TestValue(
                accountId: testKey.AccountId.Value,
                message: "Kthx, world!");

            try
            {
                var dataStore = new PostgresMartenDataStore <TestValue.Key, TestValue>(
                    connectionString: "User ID=postgres;Password=postgres;Host=localhost;Port=5432;Database=postgres",
                    keyMap: "test-values/{AccountId}");

                ClearDataStore(dataStore);

                TestDataStore(
                    dataStore,
                    testKey,
                    testValueA,
                    testValueB);

                TestQuery(dataStore);
            }
            catch (Exception ex)
            {
                throw;
            }
        }
        public async Task RunBulkApiTests()
        {
            var dataStore = new PostgresMartenDataStore <TestValue.Key, TestValue>(
                connectionString: "User ID=postgres;Password=postgres;Host=localhost;Port=5432;Database=postgres",
                keyMap: "test-values/{AccountId}");

            ClearDataStore(dataStore);

            await TestBulkApi(dataStore,
                              (keyGen, dataGen) =>
            {
                var accountId = keyGen.ToGuid();
                return(new KeyValuePair <TestValue.Key, TestValue>(new TestValue.Key(accountId),
                                                                   new TestValue(accountId, $"Test: {dataGen}")));
            });
        }