Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        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);
        }