Exemplo n.º 1
0
        public void PokeRepository_GetPokedex_PassingNullStringReturnsKantoPokedex()
        {
            var             pokeRepo = new PokeRepository(Client);
            PokedexResponse target   = pokeRepo.GetPokedex("");

            Assert.True(target.Name == "kanto");
        }
Exemplo n.º 2
0
        public void PokeRepository_GetPokedex_PassingValidStringReturnsCorrectPokedexResponse(string region)
        {
            var             pokeRepo = new PokeRepository(Client);
            PokedexResponse target   = pokeRepo.GetPokedex(region);

            Assert.True(target.Name == region);
        }