public void TestCleanUp() { _logger = null; _productionBll = null; _repository = null; _uow = null; }
public void SetUp() { _logger = Substitute.For <ILogger>(); _uow = Substitute.For <IUnitOfWork>(); _repository = _uow.GetGenericRepository <PRODUCTION>(); _productionBll = new ProductionBLL(_logger, _uow); BLLMapper.Initialize(); }
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; }