Ejemplo n.º 1
0
        //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()));
        }
Ejemplo n.º 2
0
        //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();
        }
Ejemplo n.º 3
0
        //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();
        }