public void RegisterDefaultBindableProperty()
        {
            var v = new CustomViewWithText();

            Assert.Throws <ArgumentException>(() => DefaultBindableProperties.GetFor(v));

            DefaultBindableProperties.Register(CustomViewWithText.TextProperty);
        }
        public void RegisterDefaultBindableProperty()
        {
            var v = new CustomViewWithText();

            Assert.Throws <ArgumentException>(() => DefaultBindableProperties.GetFor(v));

            AssertExperimental(() => DefaultBindableProperties.Register(CustomViewWithText.TextProperty));

            if (withExperimentalFlag)
            {
                Assert.That(DefaultBindableProperties.GetFor(v), Is.EqualTo(CustomViewWithText.TextProperty));
            }
        }