protected override void Context()
        {
            base.Context();
            _subPresenter        = A.Fake <ISimulationCompoundProcessSummaryPresenter>();
            _anotherSubPresenter = A.Fake <ISimulationCompoundProcessSummaryPresenter>();

            A.CallTo(() => _simulation.AllBuildingBlocks <Compound>()).Returns(new List <Compound> {
                _compound
            });
            A.CallTo(() => _applicationController.Start <ISimulationCompoundProcessSummaryPresenter>()).ReturnsNextFromSequence(_subPresenter, _anotherSubPresenter);
            A.CallTo(() => _subPresenter.HasProcessesDefined).Returns(true);
            A.CallTo(() => _anotherSubPresenter.HasProcessesDefined).Returns(false);
        }
Ejemplo n.º 2
0
 public void AttachPresenter(ISimulationCompoundProcessSummaryPresenter presenter)
 {
     /*nothing to do*/
 }