public async Task Given_ArgumentNullException_From_BasicPokemonFeature_When_GetBasicInfo_IsCalled_Throws_Exception()
        {
            //Arrange
            mockBasicPokemonFeature.Setup(o => o.GetBasicPokemonInfoAsync(It.IsAny <string>())).Throws <ArgumentNullException>();
            myPokedexController = new MyPokedexController(mockBasicPokemonFeature.Object, mockTranslatedPokemonFeature.Object);

            //Act & Assert
            await Assert.ThrowsAsync <ArgumentNullException>(() => myPokedexController.GetBasicInfo(string.Empty));

            await Assert.ThrowsAsync <ArgumentNullException>(() => myPokedexController.GetBasicInfo(null));
        }
        public async Task Given_HttpResponseException_From_BasicPokemonFeature_When_GetBasicInfo_IsCalled_Throws_NotFound_Exception()
        {
            //Arrange
            mockBasicPokemonFeature.Setup(o => o.GetBasicPokemonInfoAsync(It.IsAny <string>())).Throws <HttpResponseException>();
            myPokedexController = new MyPokedexController(mockBasicPokemonFeature.Object, mockTranslatedPokemonFeature.Object);

            //Act & Assert
            await Assert.ThrowsAsync <HttpResponseException>(() => myPokedexController.GetBasicInfo("hello")).ConfigureAwait(false);

            mockBasicPokemonFeature.Verify(o => o.GetBasicPokemonInfoAsync(It.IsAny <string>()), Times.Once);
        }
        public async Task Given_Valid_Pokemon_Name_When_GetBasicInfo_IsCalled_Then_Returns_PokedexResponse()
        {
            //Arrange
            var pokemonInfo = new PokemonInfoDto {
                Name        = "mewtwo",
                Habitat     = "rare",
                Description = "Hello World",
                IsLegendary = true
            };

            mockBasicPokemonFeature.Setup(o => o.GetBasicPokemonInfoAsync(It.IsAny <string>())).ReturnsAsync(pokemonInfo);
            myPokedexController = new MyPokedexController(mockBasicPokemonFeature.Object, mockTranslatedPokemonFeature.Object);

            //Act
            var response = await myPokedexController.GetBasicInfo("mewtwo").ConfigureAwait(false);

            //Assert
            Assert.IsType <PokedexResponse>(response.Value);
            Assert.NotNull(response);
            mockBasicPokemonFeature.Verify(o => o.GetBasicPokemonInfoAsync(It.IsAny <string>()), Times.Once);
        }