Esempio n. 1
0
        public void GetSingleEmptyMedicalRecordIdentifier()
        {
            var fakeApp = FakeCollection.Where(w => String.IsNullOrEmpty(w.MRID)).First();
            var single  = repo.GetSingle(fakeApp.Id);

            Assert.AreEqual(fakeApp.Id, single.Id);
            Assert.AreEqual(fakeApp.PatientUserId, single.PatientUserId);
            Assert.IsTrue(String.IsNullOrEmpty(fakeApp.MRID));
            Assert.IsTrue(String.IsNullOrEmpty(single.MRID));
            Assert.AreEqual(fakeApp.InstitutionId, single.InstitutionId);
        }