@@ -0,0 +1,1548 @@
+package org.knowm.xchange.bitmex.service.marketdata;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.knowm.xchange.ExchangeFactory;%0Aimport org.knowm.xchange.bitmex.BitmexExchange;%0Aimport org.knowm.xchange.currency.CurrencyPair;%0Aimport org.knowm.xchange.dto.marketdata.Trades;%0Aimport org.knowm.xchange.service.marketdata.MarketDataService;%0A%0Aimport java.io.IOException;%0Aimport java.math.BigDecimal;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Apublic class BitmexTradesIntegration %7B%0A%0A  public static MarketDataService marketDataService;%0A  public static BitmexExchange bitmexExchange;%0A%0A  @Before%0A  public void setUp() %7B%0A    bitmexExchange = (BitmexExchange) ExchangeFactory.INSTANCE.createExchange(BitmexExchange.class.getName());%0A    marketDataService = bitmexExchange.getMarketDataService();%0A  %7D%0A%0A  @Test%0A  public void getTradesTest() throws IOException %7B%0A    CurrencyPair pair = new CurrencyPair(%22XBT%22, %22M19%22);%0A    Trades trades = marketDataService.getTrades(pair, 500, 0L);%0A%0A    assertThat(trades).isNotNull();%0A    assertThat(trades.getTrades()).isNotEmpty();%0A    assertThat(trades.getTrades().get(0).getCurrencyPair()).isEqualTo(pair);%0A    assertThat(trades.getTrades().get(0).getType()).isNotNull();%0A    assertThat(trades.getTrades().get(0).getOriginalAmount()).isGreaterThan(BigDecimal.ZERO);%0A    assertThat(trades.getTrades().get(0).getPrice()).isGreaterThan(BigDecimal.ZERO);%0A    assertThat(trades.getTrades().get(0).getTimestamp()).isNotNull();%0A    assertThat(trades.getTrades().get(0).getId()).isNotNull();%0A  %7D%0A%7D%0A

Add test for trades