예제 #1
0
 public AuditImportMovementHandler(IImportMovementAuditRepository repository,
                                   IMapper mapper,
                                   ImportNotificationContext context)
 {
     this.repository = repository;
     this.mapper     = mapper;
     this.context    = context;
 }
        public GetImportMovementAuditByNotificationIdHandlerTests()
        {
            notificationId = Guid.NewGuid();

            mapper     = A.Fake <IMapper>();
            repository = A.Fake <IImportMovementAuditRepository>();

            handler = new GetImportMovementAuditByNotificationIdHandler(mapper, repository);
        }
 public CancelImportMovementsHandler(Domain.ImportMovement.CancelImportMovement cancelMovement,
                                     ImportNotificationContext context, IImportMovementAuditRepository repository,
                                     IUserContext userContext, IImportMovementAuditRepository movementAuditRepository,
                                     IImportMovementFactory importMovementFactory, IImportMovementRepository movementRepository)
 {
     this.cancelMovement          = cancelMovement;
     this.context                 = context;
     this.repository              = repository;
     this.userContext             = userContext;
     this.movementAuditRepository = movementAuditRepository;
     this.importMovementFactory   = importMovementFactory;
     this.movementRepository      = movementRepository;
 }
예제 #4
0
 public GetImportMovementAuditByNotificationIdHandler(IMapper mapper,
                                                      IImportMovementAuditRepository repository)
 {
     this.mapper     = mapper;
     this.repository = repository;
 }