UpdateDescription() 공개 메소드

public UpdateDescription ( string lang, string value ) : void
lang string
value string
리턴 void
예제 #1
0
        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");
        }