コード例 #1
0
 public void TestCleanUp()
 {
     _logger        = null;
     _productionBll = null;
     _repository    = null;
     _uow           = null;
 }
コード例 #2
0
        public void SetUp()
        {
            _logger        = Substitute.For <ILogger>();
            _uow           = Substitute.For <IUnitOfWork>();
            _repository    = _uow.GetGenericRepository <PRODUCTION>();
            _productionBll = new ProductionBLL(_logger, _uow);

            BLLMapper.Initialize();
        }
コード例 #3
0
 public ProductionController(IPageBLL pageBll, IProductionBLL productionBll, ICompanyBLL companyBll, IPlantBLL plantBll, IUnitOfMeasurementBLL uomBll,
                             IBrandRegistrationBLL brandRegistrationBll, IChangesHistoryBLL changeHistorybll, IUserPlantMapBLL userPlantMapBll, IPOAMapBLL poaMapBll, IMonthBLL monthBll, IMonthClosingBLL monthClosingBll)
     : base(pageBll, Enums.MenuList.CK4C)
 {
     _productionBll        = productionBll;
     _mainMenu             = Enums.MenuList.CK4C;
     _companyBll           = companyBll;
     _plantBll             = plantBll;
     _uomBll               = uomBll;
     _brandRegistrationBll = brandRegistrationBll;
     _changeHistoryBll     = changeHistorybll;
     _userPlantMapBll      = userPlantMapBll;
     _poaMapBll            = poaMapBll;
     _monthBll             = monthBll;
     _monthClosingBll      = monthClosingBll;
 }