Exemple #1
0
        protected override void Context()
        {
            _view                   = A.Fake <ICalculationMethodSelectionViewForCompound>();
            _mapper                 = A.Fake <ICalculationMethodToCategoryCalculationMethodDTOMapper>();
            _repository             = A.Fake <ICompoundCalculationMethodCategoryRepository>();
            _calculationMethodsTask = A.Fake <IPKSimCalculationMethodsTask>();

            sut = new CalculationMethodSelectionPresenterForCompound(_view, _mapper, _repository, _calculationMethodsTask);
            sut.InitializeWith(A.Fake <ICommandCollector>());
        }
 public CalculationMethodSelectionPresenterForCompound(ICalculationMethodSelectionViewForCompound view, ICalculationMethodToCategoryCalculationMethodDTOMapper mapper, ICompoundCalculationMethodCategoryRepository compoundCalculationMethodCategoryRepository, IPKSimCalculationMethodsTask calculationMethodsTask)
     : base(view, mapper, compoundCalculationMethodCategoryRepository)
 {
     _calculationMethodsTask = calculationMethodsTask;
 }