protected override void Context() { base.Context(); _fixedLimitsGroupingPresenter = A.Fake <IFixedLimitsGroupingPresenter>(); _numberOfBinsPresenter = A.Fake <INumberOfBinsGroupingPresenter>(); _valueMappingPresenter = A.Fake <IValueMappingGroupingPresenter>(); A.CallTo(() => _applicationController.Start <IFixedLimitsGroupingPresenter>()).Returns(_fixedLimitsGroupingPresenter); A.CallTo(() => _applicationController.Start <INumberOfBinsGroupingPresenter>()).Returns(_numberOfBinsPresenter); A.CallTo(() => _applicationController.Start <IValueMappingGroupingPresenter>()).Returns(_valueMappingPresenter); }
public void AttachPresenter(IValueMappingGroupingPresenter presenter) { _presenter = presenter; }