public CertificateOfReceiptNameTests()
        {
            notificationApplicationRepository = A.Fake<INotificationApplicationRepository>();
            notificationId = new Guid("6CE221A8-F8EC-4EDD-A2D7-33B8836B9BBF");

            certificateOfReceiptName = new CertificateOfReceiptNameGenerator(notificationApplicationRepository);
        }
        public CertificateOfReceiptNameTests()
        {
            notificationApplicationRepository = A.Fake <INotificationApplicationRepository>();
            notificationId = new Guid("6CE221A8-F8EC-4EDD-A2D7-33B8836B9BBF");

            certificateOfReceiptName = new CertificateOfReceiptNameGenerator(notificationApplicationRepository);
        }
Exemple #3
0
 public SaveCertificateOfReceiptFileHandler(IwsContext context,
                                            IFileRepository fileRepository,
                                            IMovementRepository movementRepository,
                                            CertificateFactory certificateFactory,
                                            CertificateOfReceiptNameGenerator nameGenerator)
 {
     this.context            = context;
     this.fileRepository     = fileRepository;
     this.certificateFactory = certificateFactory;
     this.nameGenerator      = nameGenerator;
     this.movementRepository = movementRepository;
 }
 public CreateReceiptRecoveryHandler(IDraftMovementRepository draftMovementRepository,
                                     IMovementRepository movementRepository,
                                     IwsContext context,
                                     IUserContext userContext,
                                     IFileRepository fileRepository,
                                     CertificateFactory certificateFactory,
                                     CertificateOfReceiptNameGenerator receiptNameGenerator,
                                     CertificateOfRecoveryNameGenerator recoveryNameGenerator,
                                     INotificationApplicationRepository notificationRepository,
                                     IMovementAuditRepository movementAuditRepository)
 {
     this.draftMovementRepository = draftMovementRepository;
     this.movementRepository      = movementRepository;
     this.context                 = context;
     this.userContext             = userContext;
     this.fileRepository          = fileRepository;
     this.certificateFactory      = certificateFactory;
     this.receiptNameGenerator    = receiptNameGenerator;
     this.recoveryNameGenerator   = recoveryNameGenerator;
     this.notificationRepository  = notificationRepository;
     this.movementAuditRepository = movementAuditRepository;
 }