//Test is on ignore because it can fail random //This still can be used to test if the pokesnipers api works public void ReadAllTest() { var rarePokemonRepository = new PokezzRarePokemonRepository(); var sniperInfos = rarePokemonRepository.FindAll(); Assert.IsNotNull(sniperInfos); Assert.IsTrue(sniperInfos.Any()); sniperInfos.ForEach(sniperInfo => Console.WriteLine(sniperInfo.ToString())); }
//Test is on ignore because it can fail random //This still can be used to test if the pokesnipers api works public void ReadAllTest() { var rarePokemonRepository = new PokezzRarePokemonRepository(RarePokemonsFactory.createRarePokemonList()); rarePokemonRepository.FindAll(); }
//Test is on ignore because it can fail random //This still can be used to test if the pokesnipers api works public void ReadAllTest() { var rarePokemonRepository = new PokezzRarePokemonRepository(); rarePokemonRepository.FindAll(); }