Exemple #1
0
        public void GetDetailTest()
        {
            DoctorRep         res = new DoctorRep(db);
            DoctorsController obj = new DoctorsController(res);
            var data     = obj.Get1(1);
            var okResult = data as ObjectResult;

            Assert.AreEqual(200, okResult.StatusCode);
        }