public void DeleteIcuWhenIdIsNotPresentThenStatusNotFound() { Alert_to_care.tests.Repository.ICUConfigTestRepository iCUConfigTestRepository = new Alert_to_care.tests.Repository.ICUConfigTestRepository(); var response = iCUConfigTestRepository.DeleteIcu(125); Assert.AreEqual(HttpStatusCode.NotFound, response); }
public void DeleteIcuWhenIdIsPresentThenStatusOk() { Alert_to_care.tests.Repository.ICUConfigTestRepository iCUConfigTestRepository = new Alert_to_care.tests.Repository.ICUConfigTestRepository(); var response = iCUConfigTestRepository.DeleteIcu(72); Assert.AreEqual(HttpStatusCode.OK, response); }