예제 #1
0
        public void TestData_URL_GetsCorrectNumber()
        {
            b.Info.Flow();

            SampleTestData td    = new SampleTestData();
            var            urls  = td.GetTestURLs(10);
            int            count = 0;

            foreach (var u in urls)
            {
                count++;
                Assert.False(string.IsNullOrWhiteSpace(u));
                var f = u.ToLowerInvariant();
                Assert.StartsWith("http", f);
            }

            Assert.Equal(10, count);
        }