void TestWindowPriorityBinding(Window w)
        {
            var textBox = (TextBox)w.Content;

            var expr = BindingOperations.GetPriorityBindingExpression(textBox, TextBox.TextProperty);

            Assert.IsNotNull(expr);

            Assert.AreEqual(expr.ParentPriorityBinding.Bindings.Count, 2);
        }