Beispiel #1
0
        public void First_phone_is_parsed(string html, string expected)
        {
            var parser = new ContactDetailsParser();

            var result = parser.ParseFirstPhoneNumber(html);

            Assert.Equal(expected, result);
        }
Beispiel #2
0
        public void No_phone_returns_null(string html)
        {
            var parser = new ContactDetailsParser();

            var result = parser.ParseFirstPhoneNumber(html);

            Assert.Null(result);
        }