public void SideEffectsOnChange()
        {
            var textBox = new System.Windows.Controls.TextBox();

            Assert.IsNull(BindingOperations.GetBindingExpression(textBox, System.Windows.Controls.TextBox.TextProperty));

            textBox.SetSourceValueType(typeof(int));
            textBox.RaiseLoadedEvent();
            Assert.NotNull(BindingOperations.GetBindingExpression(textBox, System.Windows.Controls.TextBox.TextProperty));

            Assert.AreEqual(DefaultNumberStyles.DefaultInteger, textBox.GetNumberStyles());
            Assert.AreEqual(DefaultStringConverters.Converters[typeof(int)], textBox.GetStringConverter());
            Assert.AreEqual(DefaultRules.Rules[typeof(int)], textBox.GetValidationRules());
        }