public async Task Transaction_cancelled() { using (var scope = await db.GetTransactionAsync()) { await InsertRecordsAsync(10); } Assert.AreEqual(await GetRecordCountAsync(), 0); }