public void CTor_Formats_AliasAndName_When_Name_IsNull() { var f = new VerbAttribute("Name", string.Empty, "help"); Assert.IsTrue(string.IsNullOrEmpty(f.Alias)); Assert.IsTrue(f.HelpFormattedName == "Name"); }
public void Alias_Set_Formats_HelpFormattedName() { var f = new VerbAttribute("Name", string.Empty, "help"); Assert.IsTrue(f.HelpFormattedName == f.Name); }