public ReturnToNonObligatedViewModelMapTests() { cache = A.Fake <IWeeeCache>(); categoryMap = A.Fake <IMap <NonObligatedDataToNonObligatedValueMapTransfer, IList <NonObligatedCategoryValue> > >(); calculator = A.Fake <ICategoryValueTotalCalculator>(); pasteProcessor = A.Fake <IPasteProcessor>(); mapper = new ReturnToNonObligatedValuesViewModelMap(cache, categoryMap, calculator, pasteProcessor); }
public ReturnToObligatedViewModelMap(IWeeeCache cache, IMap <ObligatedDataToObligatedValueMapTransfer, IList <ObligatedCategoryValue> > obligatedMap, ICategoryValueTotalCalculator calculator, IPasteProcessor pasteProcessor) { this.cache = cache; this.obligatedMap = obligatedMap; this.calculator = calculator; this.pasteProcessor = pasteProcessor; }
public ObligatedReceivedControllerTests() { weeeClient = A.Fake <IWeeeClient>(); requestCreator = A.Fake <IObligatedReceivedWeeeRequestCreator>(); breadcrumb = A.Fake <BreadcrumbService>(); cache = A.Fake <IWeeeCache>(); mapper = A.Fake <IMap <ReturnToObligatedViewModelMapTransfer, ObligatedViewModel> >(); calculator = A.Fake <ICategoryValueTotalCalculator>(); controller = new ObligatedReceivedController(cache, breadcrumb, () => weeeClient, requestCreator, mapper); }
public NonObligatedValuesViewModel(NonObligatedCategoryValues values, ICategoryValueTotalCalculator categoryValueCalculator) { AddCategoryValues(values); this.categoryValueCalculator = categoryValueCalculator; }
public NonObligatedValuesViewModel(ICategoryValueTotalCalculator categoryValueCalculator) { AddCategoryValues(new NonObligatedCategoryValues()); this.categoryValueCalculator = categoryValueCalculator; }
public NonObligatedValuesViewModel() { this.categoryValueCalculator = new CategoryValueTotalCalculator(); }
public ObligatedReusedViewModelTests() { calculator = new CategoryValueTotalCalculator(); viewModel = new ObligatedViewModel(calculator); }
public NonObligatedValuesViewModelValidatorTests() { calculator = new CategoryValueTotalCalculator(); }
public NonObligatedValueViewModelTests() { calculator = new CategoryValueTotalCalculator(); model = new NonObligatedValuesViewModel(calculator); }
public CategoryValueTotalCalculatorTests() { calculator = new CategoryValueTotalCalculator(); }
public ObligatedReceivedWeeeRequestCreatorTests() { requestCreator = new ObligatedReceivedWeeeRequestCreator(); calculator = new CategoryValueTotalCalculator(); }
public NonObligatedWeeeRequestCreatorTests() { requestCreator = new NonObligatedWeeeRequestCreator(); calculator = new CategoryValueTotalCalculator(); }