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); }
public IEnumerable <Clinical> SearchClinicalData(string name) { return(objclinical.SearchClinicalData(name)); }