AsyncPoco.Tests.Tests.Transaction_cancelled C# (CSharp) Method

Transaction_cancelled() private method

private Transaction_cancelled ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
		public async Task Transaction_cancelled()
		{
			using (var scope = await db.GetTransactionAsync())
			{
				await InsertRecordsAsync(10);
			}

			Assert.AreEqual(await GetRecordCountAsync(), 0);
		}