Пример #1
0
        public void WhenEnteringGauntlet_DungeonLoaderLoadsWithExpectedValues()
        {
            EnterGauntletPM systemUnderTest = CreateSystem();

            systemUnderTest.Index = 0;

            systemUnderTest.EnterGauntlet(2);

            MockDungeonLoader.Received().LoadDungeon(EnterGauntletPM.GAUNTLET_GAME_TYPE, 0, 2);
        }
Пример #2
0
        public void WhenLoadingDungeon_LoaderIsCalledWithExpectedSettings()
        {
            EnterDungeonPM systemUnderTest = CreateSystem();

            systemUnderTest.GameType  = "Test";
            systemUnderTest.AreaId    = 1;
            systemUnderTest.DungeonId = 2;

            systemUnderTest.LoadDungeon();

            MockDungeonLoader.Received().LoadDungeon("Test", 1, 2);
        }