public void RequestProcessTest()
        {
            var doctorCollectionDataResolver = new DoctorCollectionDataResolver();
            var html = doctorCollectionDataResolver.RequestProcess("591", "2");

            Assert.IsTrue(!string.IsNullOrWhiteSpace(html));
        }
예제 #2
0
        /*[TestCase("1",22)]
         * [TestCase("18",20)]*/
        public void RequestDoctorsTest()
        {
            var doctorCollectionJson  = new DoctorCollectionDataResolver().RequestProcess("591", "2");
            var doctorCollectionModel = new DoctorCollectionParser().ParseDoctors(doctorCollectionJson);

            Assert.AreEqual(1, doctorCollectionModel.Count);
        }