Ejemplo n.º 1
0
        private static FightResponseDTO TestPokemonFightWithGivenPokemons(List <PokemonModelDTO> pokemonList)
        {
            var pokedexService = PokedexServiceMock.PokedexService(pokemonList);
            var battleService  = new BattleService(pokedexService);
            var result         = battleService.StartTheFight(new BaseRequest <FightConfigurationDTO>
            {
                Data = new FightConfigurationDTO
                {
                    PokemonLeft  = pokemonList[1].Name,
                    PokemonRight = pokemonList[2].Name
                }
            });

            return(result);
        }