Пример #1
0
        public DoctorCommandHandlerTests()
        {
            specialtyRepository = new SpecialtyFakeRepository();
            doctorRepository    = new DoctorFakeRepository(specialtyRepository);

            _handler = new DoctorCommandHandler(doctorRepository, specialtyRepository);
        }
Пример #2
0
 public HospitalCommandHandlerTests()
 {
     hospitalRepository  = new HospitalFakeRepository();
     specialtyRepository = new SpecialtyFakeRepository();
     _handler            = new HospitalCommandHandler(hospitalRepository, specialtyRepository);
 }
Пример #3
0
        public SpecialtyCommandHandlerTests()
        {
            specialtyRepository = new SpecialtyFakeRepository();

            _handler = new SpecialtyCommandHandler(specialtyRepository);
        }