public void DeletePatient_ShouldReturnOK() { var context = new TestPacmanRESTContext(); var item = GetDemoPatient(); context.Pacman_patient_db.Add(item); var controller = new PatientController(context); var result = controller.DeletePacman_patient_db(3) as OkNegotiatedContentResult <Pacman_patient_db>; Assert.IsNotNull(result); //Assert.AreEqual(item.ID, result.Content.ID); }