public ArrivalReceiptTests()
        {
            IUnitOfWork uow = new NHUnitOfWork();

            this._arrivalReceiptRepository       = new ArrivalReceiptRepository(uow);
            this._arrivalReceiptDetailRepository = new ArrivalReceiptDetailRepository(uow);
            this._arrivalNoticeDetailRepository  = new ArrivalNoticeDetailRepository(uow);
            this._arrivalNoticeRepository        = new ArrivalNoticeRepository(uow);
        }
 public ArrivalNoticeService(
     IArrivalNoticeRepository arrivalNoticeRepository,
     IArrivalNoticeDetailRepository purchaseNoticeDetailRepository,
     IArrivalReceiptService arrivalReceiptService,
     IWorkflowActivityService workflowActivityService,
     IUnitOfWork uow
     )
 {
     this._arrivalNoticeRepository       = arrivalNoticeRepository;
     this._arrivalNoticeDetailRepository = purchaseNoticeDetailRepository;
     this._arrivalReceiptService         = arrivalReceiptService;
     this._workflowActivityService       = workflowActivityService;
     this._uow = uow;
 }
        public ArrivalReceiptTest()
        {
            IUnitOfWork uow = new NHUnitOfWork();

            this._arrivalReceiptRepository       = new ArrivalReceiptRepository(uow);
            this._arrivalReceiptDetailRepository = new ArrivalReceiptDetailRepository(uow);
            this._arrivalReceiptService          = new ArrivalReceiptService(this._arrivalReceiptRepository, this._arrivalReceiptDetailRepository, uow);

            this._workflowActivityService = new WorkflowActivityService(null, uow);

            this._arrivalNoticeRepository       = new ArrivalNoticeRepository(uow);
            this._arrivalNoticeDetailRepository = new ArrivalNoticeDetailRepository(uow);
            this._arrivalNoticeService          = new ArrivalNoticeService(this._arrivalNoticeRepository, this._arrivalNoticeDetailRepository, this._arrivalReceiptService, this._workflowActivityService, uow);


            AutoMapperBootStrapper.ConfigureAutoMapper();
        }