public void RegisterDefaultBindableCommandProperties()
        {
            var v = new CustomViewWithCommand();

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

            DefaultBindableProperties.RegisterForCommand((CustomViewWithCommand.CommandProperty, CustomViewWithCommand.CommandParameterProperty));
        }
        public void RegisterDefaultBindableCommandProperties()
        {
            var v = new CustomViewWithCommand();

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

            AssertExperimental(() => DefaultBindableProperties.RegisterForCommand((CustomViewWithCommand.CommandProperty, CustomViewWithCommand.CommandParameterProperty)));

            if (withExperimentalFlag)
            {
                Assert.That(DefaultBindableProperties.GetForCommand(v), Is.EqualTo((CustomViewWithCommand.CommandProperty, CustomViewWithCommand.CommandParameterProperty)));
            }
        }