Ejemplo n.º 1
0
        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.");
        }
Ejemplo n.º 2
0
        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.");
        }