Example #1
0
        public void http_convert_to_https()
        {
            var urls   = RepositoryFactory.GetUrls();
            var actual = WithoutLinq.CovertHttpToHttps(urls);

            var expected = new List <string>()
            {
                "https://tw.yahoo.com",
                "https://facebook.com",
                "https://twitter.com",
                "https://github.com"
            };

            expected.ToExpectedObject().ShouldEqual(actual.ToList());
        }