Beispiel #1
0
        public void testFormatierungFalscheEingaben()
        {
            Formatierung f   = new Formatierung();
            var          res = f.formatiere("##", "jhy");

            Assert.AreEqual(String.Empty, res);
        }
Beispiel #2
0
        public void testFormatierungLeereEingaben()
        {
            Formatierung f   = new Formatierung();
            var          res = f.formatiere("", "");

            Assert.AreEqual(String.Empty, res);
        }
Beispiel #3
0
        public void testFormatierung()
        {
            Formatierung f   = new Formatierung();
            var          res = f.formatiere("+49 (8024) [990-477]", "DE");

            Assert.AreEqual("+49 8024 990477", res);
        }