public void PatientRepositroyGetQueryablePatientTest()
        {
            var testData = TestDataGenerateHelper.createPatientModelData();

            using (var context = new PatientDbContext(dbOptionsBuilder.Options))
            {
                context.Patients.AddRange(testData);
                context.SaveChanges();
                var repo   = new PatientRepository(context);
                var result = repo.GetQueryablePatient();

                Assert.IsNotNull(result);
            }
        }
        public async Task PatientRepositroyGetPatientByIdSuccessTest()
        {
            var testData = TestDataGenerateHelper.createPatientModelData();

            using (var context = new PatientDbContext(dbOptionsBuilder.Options))
            {
                context.Patients.AddRange(testData);
                context.SaveChanges();

                var repo   = new PatientRepository(context);
                var result = await repo.GetPatientByIdAsync(testData[0].Id);

                Assert.IsNotNull(result);
            }
        }