BitmexHistoricalDataProvider implements IHistoricalDataProvider { @Override public boolean isConnected() { return connected; }  @Override boolean isConnected(); @Override void connect(); @Override void init(Properties props); @Override List<BarData> requestHistoricalData(Ticker ticker, int duration, BarData.LengthUnit durationLengthUnit, int barSize, BarData.LengthUnit barSizeUnit, ShowProperty whatToShow, boolean useRTH); @Override List<BarData> requestHistoricalData(Ticker ticker, Date endDateTime, int duration, BarData.LengthUnit durationLengthUnit, int barSize, BarData.LengthUnit barSizeUnit, ShowProperty whatToShow, boolean useRTH);  }
@Test public void testIsConnected() { testProvider.connected = true; assertTrue(testProvider.isConnected()); }