public void SetUp()
 {
     testDataHelper = new TestDataHelper();
     var constituent = ConstituentMother.ConstituentWithName(ConstituentNameMother.JamesFranklin());
     savedConstituent = testDataHelper.CreateConstituent(constituent);
     educationDetailRepository = new EducationDetailRepository(testDataHelper.session);
     savedEducationalDetail = testDataHelper.CreateEducationDetail(EducationDetailMother.School(savedConstituent));
 }
 public SearchServiceImpl(ConstituentRepository constituentRepository, EmailRepository emailRepository, PhoneRepository phoneRepository, OccupationRepository occupationRepository, EducationDetailRepository educationDetailRepository, AddressRepository addressRepository)
 {
     this.constituentRepository = constituentRepository;
     this.addressRepository = addressRepository;
     this.educationDetailRepository = educationDetailRepository;
     this.occupationRepository = occupationRepository;
     this.phoneRepository = phoneRepository;
     this.emailRepository = emailRepository;
 }
 public EducationDetailServiceImpl(EducationDetailRepository repository, ConstituentRepository constituentRepository)
 {
     this.repository = repository;
     this.constituentRepository = constituentRepository;
 }