public void Find_Patient()
        {
            var            mockVerify = new Mock <IEmailVerificationService>();
            PatientService service    = new PatientService(CreateStubRepository(), mockVerify.Object, new RegularAppointmentService(new AppointmentRepository(), new EmployeesScheduleRepository(), new DoctorService(new OperationRepository(), new AppointmentRepository(), new EmployeesScheduleRepository(), new DoctorRepository()), new PatientsRepository(), new OperationService(new OperationRepository())));

            PatientUser foundPatient = service.GetOne(1);

            foundPatient.ShouldNotBeNull();
        }
        public void Create_Registration_Successfuly()
        {
            var            mockVerify = new Mock <IEmailVerificationService>();
            PatientService service    = new PatientService(CreateStubRepository(), mockVerify.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.Create(new PatientDto("Pera2", "Peric", "Male", "1234", "11/11/2000", "1231412", "21312312", "Alergija", "Grad", "*****@*****.**", "pass", false, "Grad2", "Roditelj", "", ""));

            patient.ShouldNotBeNull();
        }