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