public void WhenStepIsDone_ManagerDoneMethodIsCalled() { ISceneStartFlowManager mockManager = Substitute.For <ISceneStartFlowManager>(); StubFlowStep systemUnderTest = new StubFlowStep(mockManager); systemUnderTest.Done(); mockManager.Received().StepFinished(); }
public void CommonInstall() { MockBackend = Substitute.For <IBackendManager>(); MockMessenger = Substitute.For <IMessageService>(); MockPromoManager = Substitute.For <ILoginPromotionManager>(); MockAllPromosPM = Substitute.For <ILoginPromoDisplaysPM>(); MockFlowManager = Substitute.For <ISceneStartFlowManager>(); MockHelper = Substitute.For <ILoginPromoPopupHelper>(); SetActiveProgressOnMockManagerWithIds(new List <string>()); }
public IShowNewsFlowStep Create(ISceneStartFlowManager i_manager) { return(factory.Create(i_manager)); }
public IShowGauntletStep Create(ISceneStartFlowManager i_manager) { return(factory.Create(i_manager)); }
public IShowLoginPromosStep Create(ISceneStartFlowManager i_manager) { return(factory.Create(i_manager)); }
public ShowNewsFlowStep(INewsManager i_manager, IMessageService i_messenger, IAllNewsPM i_newsPM, ISceneStartFlowManager i_sceneManager) : base(i_sceneManager) { mMessenger = i_messenger; mManager = i_manager; mNewsPM = i_newsPM; }
public IUpcomingMaintenanceFlowStep Create(ISceneStartFlowManager i_manager) { return(factory.Create(i_manager)); }
public BaseSceneStartFlowStep(ISceneStartFlowManager i_flowManager) { mManager = i_flowManager; }
public StubFlowStep(ISceneStartFlowManager i_manager) : base(i_manager) { }
public UpcomingMaintenanceFlowStep(IUpcomingMaintenanceManager i_manager, IMessageService i_messenger, ISceneStartFlowManager i_sceneManager) : base(i_sceneManager) { mManager = i_manager; mMessenger = i_messenger; ListenForMessages(true); }
public ShowGauntletStep(ICurrentGauntletManager i_gauntletManager, IEnterGauntletPM i_enterGauntlet, ISceneStartFlowManager i_sceneManager) : base(i_sceneManager) { mGauntletManager = i_gauntletManager; mEnterGauntlet = i_enterGauntlet; }
public ShowLoginPromosStep(IBackendManager i_backend, ILoginPromoPopupHelper i_popupHelper, ILoginPromoDisplaysPM i_allPromosPM, ILoginPromotionManager i_manager, IMessageService i_messenger, ISceneStartFlowManager i_sceneManager) : base(i_sceneManager) { mMessenger = i_messenger; mPromoManager = i_manager; mAllPromosPM = i_allPromosPM; mHelper = i_popupHelper; ActivePromoSaveData = i_manager.GetActivePromoSaveData(); }