Beispiel #1
0
        public void Block_Patient_Unsuccessffuly()
        {
            PatientService service = new PatientService(CreateStubRepository(), new Mock <IEmailVerificationService>().Object, new RegularAppointmentService(new AppointmentRepository(), new EmployeesScheduleRepository(), new DoctorService(new OperationRepository(), new AppointmentRepository(), new EmployeesScheduleRepository(), new DoctorRepository()), new PatientsRepository(), new OperationService(new OperationRepository())));
            PatientUser    patient = service.BlockPatient(2);

            patient.ShouldBeNull();
        }