Exemplo n.º 1
0
 protected override void Context()
 {
     base.Context();
     _targetBuildingBlock = A.Fake <IBuildingBlock>();
     _createBuildingBlockMergePresenter = A.Fake <ICreateBuildingBlockMergePresenter <IBuildingBlock> >();
     A.CallTo(() => _applicationController.Start <ICreateBuildingBlockMergePresenter <IBuildingBlock> >()).Returns(_createBuildingBlockMergePresenter);
     A.CallTo(() => _createBuildingBlockMergePresenter.StartSingleMerge(A <Action <IBuildingBlockMergePresenter, IBuildingBlock> > ._))
     .Invokes(x => _configuration = x.GetArgument <Action <IBuildingBlockMergePresenter, IBuildingBlock> >(0));
 }
Exemplo n.º 2
0
 protected override void Context()
 {
     base.Context();
     _createBuildingBlockMergePresenter = A.Fake <ICreateBuildingBlockMergePresenter <IMoBiBuildConfiguration> >();
     A.CallTo(() => _applicationController.Start <ICreateBuildingBlockMergePresenter <IMoBiBuildConfiguration> >()).Returns(_createBuildingBlockMergePresenter);
     A.CallTo(() => _createBuildingBlockMergePresenter.StartFullMerge(A <Action <IBuildingBlockMergePresenter, IMoBiBuildConfiguration> > ._, A <string> ._))
     .Invokes(x => _configuration = x.GetArgument <Action <IBuildingBlockMergePresenter, IMoBiBuildConfiguration> >(0));
     _buildingBlockMergePresenter = A.Fake <IBuildingBlockMergePresenter>();
     _buildConfiguration          = A.Fake <IMoBiBuildConfiguration>();
 }
 public void AttachPresenter(ICreateBuildingBlockMergePresenter presenter)
 {
 }