public void ToStringForPerLanguageOption() { var option = new PerLanguageOption <bool>("FooFeature", "BarName", false); var optionKey = new OptionKey(option, "BazLanguage"); var toStringResult = optionKey.ToString(); Assert.Equal("(BazLanguage) FooFeature - BarName", toStringResult); }
public void ToStringForOption() { var option = new Option <bool>("FooFeature", "BarName"); var optionKey = new OptionKey(option); var toStringResult = optionKey.ToString(); Assert.Equal("FooFeature - BarName", toStringResult); }