public void Can_Exec_Transaction_Action() { var value = false; redisManager.ExecTrans(trans => { trans.QueueCommand(r => r.AddItemToSet("set", "item")); trans.QueueCommand(r => r.SetContainsItem("set", "item"), x => value = x); }); Assert.That(value, Is.True); }