### Question:
YahooMarketCapProvider implements MarketCap.Provider { @Override public BigDecimal getMarketCap(String ticker) { try { Stock stock = getFromYahoo(ticker); return stock.getStats().getMarketCap(); } catch (IOException e) { throw new RuntimeException("Unable to retrieve market cap value of '" + ticker + "' using Yahoo Finance API", e); } }  @Override BigDecimal getMarketCap(String ticker);  }### Answer:
@Test public void return_a_market_cap_value() { YahooMarketCapProvider provider = new YahooMarketCapProvider(); BigDecimal marketCap = provider.getMarketCap("GOOG"); assertNotNull(marketCap); }