public void TwoEmptyWriteTransactionsWithNestedWaiting()
{
using (IKeyValueDB db = new InMemoryKeyValueDB())
{
Task<IKeyValueDBTransaction> trOuter;
using (var tr = db.StartWritingTransaction().Result)
{
trOuter = db.StartWritingTransaction();
tr.Commit();
}
using (var tr = trOuter.Result)
{
tr.Commit();
}
}
}