コード例 #1
0
        public PatientVerificationTest()
        {
            var otpService = new OtpServiceConfiguration {
                BaseUrl = "http://localhost:5000"
            };

            otpServiceConfigurations = Options.Create(otpService);
        }
コード例 #2
0
        public LinkPatientTest()
        {
            var otpService = new OtpServiceConfiguration {
                BaseUrl = "http://localhost:5000", OffsetInMinutes = 5
            };
            var otpServiceConfigurations = Options.Create(otpService);

            linkPatient = new LinkPatient(linkRepository.Object,
                                          patientRepository.Object,
                                          patientVerification.Object,
                                          guidGenerator.Object,
                                          discoveryRequestRepository.Object,
                                          otpServiceConfigurations);
        }