public void SettingDescriptionResourceIdAndDescriptionThrows()
        {
            var attribute = new CommandLineParameterAttribute()
            {
                DescriptionResourceId = "foo"
            };

            Assert.Equal(Strings.AmbiguousAttributeValues("Description", "DescriptionResourceId"), Assert.Throws<InvalidOperationException>(() => attribute.Description = "bar").Message);
        }
        public void SettingNameResourceIdAndNameThrows()
        {
            var attribute = new CommandLineParameterAttribute()
            {
                NameResourceId = "foo"
            };

            Assert.Equal(Strings.AmbiguousAttributeValues("Name", "NameResourceId"), Assert.Throws<InvalidOperationException>(() => attribute.Name = "bar").Message);
        }