public void test_repository_umocking()
        {
            var objSpecializations = new List<MedicalSpecialization>
            {
                new MedicalSpecialization {Id = 1, Specialization = "XXX"},
                new MedicalSpecialization {Id = 2, Specialization = "XYZ"}
            };
            var mockMedicalSpecializationRepository = new Mock<IMedicalSpecializationRepository>();
            mockMedicalSpecializationRepository.Setup(i => i.Get()).Returns(objSpecializations);

            var repositoryTest = new MedicalSpecializationRepositorySetup(mockMedicalSpecializationRepository.Object);
            var doctors = repositoryTest.GetSpecializations();
            Assert.IsTrue(doctors.Equals(objSpecializations));
        }
 public void test_repository_usage()
 {
     var repositoryTest = new MedicalSpecializationRepositorySetup();
     var specializations = repositoryTest.GetSpecializations();
     Assert.IsTrue(specializations != null);
 }