use of pokeraidbot.domain.pokemon.PokemonRepository in project pokeraidbot by magnusmickelsson.
the class CounterTextFileParserText method assertPokemonHasCorrectNumberOfCounters.
private void assertPokemonHasCorrectNumberOfCounters(String pokemonName, int goodCounters, int supremeCounters) {
CounterTextFileParser parser = new CounterTextFileParser("/counters", pokemonName, new PokemonRepository("/pokemons.csv", localeService));
assertThat(parser.getBestCounters().size(), is(supremeCounters));
assertThat(parser.getGoodCounters().size(), is(goodCounters));
}
Aggregations