Beispiel #1
0
 protected override void Context()
 {
     _view = A.Fake <IPopulationParameterDistributionView>();
     _distributionDataCreator      = A.Fake <IDistributionDataCreator>();
     _representationInfoRepository = A.Fake <IRepresentationInfoRepository>();
     _displayUnitRetriever         = A.Fake <IDisplayUnitRetriever>();
     _pkParameterRepository        = A.Fake <IPKParameterRepository>();
     sut = new PopulationDistributionPresenter(_view, _distributionDataCreator, _representationInfoRepository, _displayUnitRetriever, _pkParameterRepository);
 }
 protected ParameterIdentificationChartFeedbackPresenter(IParameterIdentificationChartFeedbackView view, IChartDisplayPresenter chartDisplayPresenter, IDimensionFactory dimensionFactory, IDisplayUnitRetriever displayUnitRetriever, TChart chart) : base(view)
 {
     _chartDisplayPresenter = chartDisplayPresenter;
     _displayUnitRetriever  = displayUnitRetriever;
     _view.AddChartView(chartDisplayPresenter.View);
     AddSubPresenters(_chartDisplayPresenter);
     _dimensionFactory      = dimensionFactory;
     _chart                 = chart;
     _outputMappingComparer = new OutputMappingByFullOutputPathComparer();
     _chartDisplayPresenter.Edit(_chart, new ChartFontAndSizeSettings().ForParameterIdentificationFeedback());
 }