public void WhenComingFromGauntletVictory_VictoryIsMarkedFalse()
        {
            MockGauntletManager.ComingFromGauntletVictory = true;
            ShowGauntletStep systemUnderTest = CreateSystem();

            systemUnderTest.Start();

            MockGauntletManager.Received().ComingFromGauntletVictory = false;
        }
        public void WhenNotComingFromGauntletVictory_EnterGauntIsNotShown()
        {
            MockGauntletManager.ComingFromGauntletVictory = false;
            ShowGauntletStep systemUnderTest = CreateSystem();

            systemUnderTest.Start();

            MockEnterGauntlet.DidNotReceive().Show();
        }
        public void WhenComingFromGauntletVictory_EnterGauntIsShown()
        {
            MockGauntletManager.ComingFromGauntletVictory = true;
            MockGauntletManager.CurrentGauntletIndex      = 11;
            ShowGauntletStep systemUnderTest = CreateSystem();

            systemUnderTest.Start();

            MockEnterGauntlet.Received().SetIndex(11);
            MockEnterGauntlet.Received().Show();
        }
        private ShowGauntletStep CreateSystem()
        {
            ShowGauntletStep systemUnderTest = new ShowGauntletStep(MockGauntletManager, MockEnterGauntlet, Substitute.For <ISceneStartFlowManager>());

            return(systemUnderTest);
        }