public void FormatHotkey_LowerCaseHotkey_MakesUpperCase() { var formatter = new TestableHotkeyFormatterBase(); var textWithHotkey = new TextWithHotkey("text", 'a'); Assert.That(formatter.FormatHotkey(textWithHotkey), Is.EqualTo("A")); }
public void FormatHotkey_NoHotkey() { var formatter = new TestableHotkeyFormatterBase(); var textWithHotkey = new TextWithHotkey("text", null); Assert.That(formatter.FormatHotkey(textWithHotkey), Is.Null); }