@Test
public void countUrlTest() {

	OandaHistoricMarketDataProvider service = new OandaHistoricMarketDataProvider(OandaTestConstants.url,
			OandaTestConstants.accessToken);
	String url = service.getCountUrl(new TradeableInstrument<String>("GBP_USD"), CandleStickGranularity.H1, 2);
	assertEquals(
			"https://api-fxtrade.oanda.com/v1/candles?instrument=GBP_USD&candleFormat=midpoint&granularity=H1&dailyAlignment=0&alignmentTimezone=GMT&count=2",
			url);
}