public void GetPatient_ShouldReturnPatienttWithSameID()
        {
            var context = new TestPacmanRESTContext();
            context.Pacman_patient_db.Add(GetDemoPatient());

            var controller = new PatientController(context);
            var result = controller.GetPacman_patient_db(1) as OkNegotiatedContentResult<Pacman_patient_db>;

            Assert.IsNotNull(result);
            Assert.AreEqual(1, result.Content.ID);
        }
        public void GetPatient_ShouldReturnAllPatients()
        {
            var context = new TestPacmanRESTContext();
            context.Pacman_patient_db.Add(new Pacman_patient_db { ID = 1, device_id = "lotsofstringhere", name = "demoPatient", phone = "4321" });
            context.Pacman_patient_db.Add(new Pacman_patient_db { ID = 2, device_id = "lotsofstringhere", name = "demoPatient", phone = "4321" });
            context.Pacman_patient_db.Add(new Pacman_patient_db { ID = 3, device_id = "lotsofstringhere", name = "demoPatient", phone = "4321" });

            var controller = new PatientController(context);
            var result = controller.GetPacman_patient_db() as TestPatientDbSet;

            Assert.IsNotNull(result);
            Assert.AreEqual(3, result.Local.Count);
        }