private BattleState CreateSut(FakeNavigator navigator)
 {
     return(new BattleState(new FakeMemoryAPI()
     {
         Navigator = navigator,
         Player = FindPlayer()
     }));
 }
Beispiel #2
0
            private BattleState CreateSut(FakeNavigator navigator)
            {
                var memory = new FakeMemoryAPI()
                {
                    Navigator = navigator,
                    Player    = FindPlayer()
                };

                return(new BattleState(new StateMemory(memory)));
            }
        private Executor CreateSut(
            FakeWindower windower,
            FakePlayer player,
            FakeNavigator navigator,
            FakeTarget target)
        {
            var memory = new FakeMemoryAPI();

            memory.Player    = player;
            memory.Windower  = windower;
            memory.Navigator = navigator;
            memory.Target    = target;

            var sut = new Executor(memory);

            return(sut);
        }