protected override void Context()
        {
            _view = A.Fake <IScaleParametersView>();
            _parameterSetPresenter = A.Fake <IParameterSetPresenter>();
            A.CallTo(() => _view.BindTo(A <ParameterScaleWithFactorDTO> ._))
            .Invokes(x => _parameterScaleWithFactorDTO = x.GetArgument <ParameterScaleWithFactorDTO>(0));

            sut = new ScaleParametersPresenter(_view);
            sut.InitializeWith(_parameterSetPresenter);
        }
示例#2
0
 public void SetScaleParameterView(IScaleParametersView view)
 {
     panelScaling.FillWith(view);
 }