Esempio 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()));
        }
Esempio 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();
        }
Esempio 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();
        }