コード例 #1
0
        public void SearchClinical_Return_OkResult()
        {
            //arrange
            ClinicalDataAccessLayer testClinicalAccess = new ClinicalDataAccessLayer();
            IEnumerable <Clinical>  data = new List <Clinical>();
            var searchString             = "ab";


            //act
            data = testClinicalAccess.SearchClinicalData(searchString);

            //assert
            Assert.IsType <Clinical[]>(data);
        }
コード例 #2
0
 public IEnumerable <Clinical> SearchClinicalData(string name)
 {
     return(objclinical.SearchClinicalData(name));
 }