示例#1
0
        public void TestDeletePatientContactValidContact()
        {
            // Act
            IActionResult result = _patientController.DeletePatientContact(_patient.Id);

            // Assert
            Assert.IsType <NoContentResult>(result);
            Assert.DoesNotContain(_mockPatientDbService.PatientContactList, patientContact => patientContact == _patientContact);
        }