public void GetFilteredTextTest_BR_OutOfScopeCharacters() { string text = "@™this| is - the : text, )( updated‡\\"; PaymentMethodType type = PaymentMethodType.BankSlip; string expected = " ™this is the text, updated‡ "; string actual; actual = PaymentInfo_pt_BR.GetFilteredText(text, type); Assert.AreEqual(expected, actual); }
public void GetFilteredTextTest_BR_CharactersNoChanging() { string text = "@this| is - the : text )( updated\\"; PaymentMethodType type = PaymentMethodType.AmexCard; string expected = "@this| is - the : text )( updated\\"; string actual; actual = PaymentInfo_pt_BR.GetFilteredText(text, type); Assert.AreEqual(expected, actual); }
public void GetFilteredTextTest_BR_NoCharacters() { string text = "this is the text updated"; PaymentMethodType type = PaymentMethodType.BankSlip; string expected = "this is the text updated"; string actual; actual = PaymentInfo_pt_BR.GetFilteredText(text, type); Assert.AreEqual(expected, actual); }