public void GivenFrenchIsoCode_ThenShouldRetrieveFrenchGuiObject() { // Arrange & Act IGui localeGui = LocaleHelper.GetLocaleGui("fr-FR"); // Assert Assert.That(localeGui, Is.TypeOf(typeof(GuiFrench)), "French GUI is choosen when selected."); }
public void GivenEnglishIsoCodeOrNothing_ThenShouldRetrieveEnglishGuiObject(string isoCode) { // Arrange & Act IGui localeGui = LocaleHelper.GetLocaleGui(isoCode); // Assert Assert.That(localeGui, Is.TypeOf(typeof(GuiEnglish)), "English GUI is choosen if selected or by default."); }