protected override void Context()
 {
     _view = A.Fake <IPopulationAnalysisFieldSelectionView>();
     _numericFieldPresenter      = A.Fake <IMultipleNumericFieldsPresenter>();
     _fieldsArrangementPresenter = A.Fake <IPopulationAnalysisFieldsArrangementPresenter>();
     sut = new TimeProfileFieldSelectionPresenter(_view, _fieldsArrangementPresenter, _numericFieldPresenter);
 }
 public BoxWhiskerNumericFieldsPresenter(IBoxWhiskerNumericFieldsView view, IMultipleNumericFieldsPresenter multipleNumericFieldsPresenter, IEventPublisher eventPublisher) : base(view)
 {
     _multipleNumericFieldsPresenter = multipleNumericFieldsPresenter;
     _eventPublisher = eventPublisher;
     _multipleNumericFieldsPresenter.AllowedType = typeof(PopulationAnalysisNumericField);
     view.AddFieldSelectionView(multipleNumericFieldsPresenter.BaseView);
     AddSubPresenters(multipleNumericFieldsPresenter);
     _dto = new BoxWhiskerNumericFieldDTO();
 }
        protected override void Context()
        {
            _numericFieldPresenter = A.Fake <IMultipleNumericFieldsPresenter>();
            _view           = A.Fake <IBoxWhiskerNumericFieldsView>();
            _eventPublisher = A.Fake <IEventPublisher>();
            sut             = new BoxWhiskerNumericFieldsPresenter(_view, _numericFieldPresenter, _eventPublisher);

            _populationDataCollector = A.Fake <IPopulationDataCollector>();
            _boxWhiskerAnalysis      = new PopulationBoxWhiskerAnalysis();
        }
 public void AttachPresenter(IMultipleNumericFieldsPresenter presenter)
 {
     _presenter = presenter;
 }
 public TimeProfileFieldSelectionPresenter(IPopulationAnalysisFieldSelectionView view, IPopulationAnalysisFieldsArrangementPresenter fieldsArrangenentPresenter, IMultipleNumericFieldsPresenter multipleNumericFieldsPresenter) :
     base(view, fieldsArrangenentPresenter, multipleNumericFieldsPresenter)
 {
     fieldsArrangenentPresenter.UpdateAreaVisibility(PivotArea.SymbolArea, visible: false);
     multipleNumericFieldsPresenter.AllowedType = typeof(PopulationAnalysisOutputField);
 }