public void GetCurrencyBySlug_WrongCurrency_ThrowsException()
        {
            ICoinmarketcapClient m_Sut = new CoinmarketcapClient(API_KEY);
            Action act = () => m_Sut.GetCurrencyBySlug("AnyWrongCurrency");

            act.Should().Throw <HttpRequestException>();
        }
        public void GetCurrencyBySlug_Bitcoin_ReturnBitcoinDetail()
        {
            ICoinmarketcapClient m_Sut    = new CoinmarketcapClient(API_KEY);
            Currency             currency = m_Sut.GetCurrencyBySlug("bitcoin");

            currency.Name.Should().Be("Bitcoin");
            currency.Symbol.Should().Be("BTC");
            currency.Price.Should().NotBe(null);
            currency.MarketCapConvert.Should().NotBe(null);
        }
        public void GetCurrencyBySlug_PivxInEur_ReturnPivxDetail()
        {
            ICoinmarketcapClient m_Sut    = new CoinmarketcapClient(API_KEY);
            Currency             currency = m_Sut.GetCurrencyBySlug("pivx", "EUR");

            currency.Name.Should().Be("PIVX");
            currency.Symbol.Should().Be("PIVX");
            currency.Price.Should().NotBe(null);
            currency.MarketCapConvert.Should().NotBe(null);
            currency.ConvertCurrency.Should().Be("EUR");
        }