public void TestCleanup() { _logger = null; _uow = null; _repository = null; _bll = null; }
public void SetUp() { _logger = Substitute.For <ILogger>(); _uow = Substitute.For <IUnitOfWork>(); _repository = _uow.GetGenericRepository <LACK2>(); _bll = new LACK2BLL(_uow, _logger); _uow.GetGenericRepository <LACK2>().ReturnsForAnyArgs(_repository); BLLMapper.Initialize(); }