UpdateDescription() public méthode

public UpdateDescription ( string lang, string value ) : void
lang string
value string
Résultat void
        public void Localized_UpdateDescription_IfDescriptionExistsUpdate_IfNotCreateNewOnThisLanguage()
        {
            //arrange
            Localized loc = new Localized("en-US", "White Rice with Corn");

            //act
            loc.UpdateDescription("en-US", "Potato");

            //Assert

            Assert.AreEqual(loc.GetDescription("en-US"), "Potato");
        }