public void testEmptyResponse() throws Exception {
   server.enqueue(new MockResponse().setBody("[]"));
   server.start();
   // reflectBaseUrl();
   BusData response = collector.getBusData(testTime, Sensor.Ambient_Temperature);
   assertEquals(response.getSensor(), Sensor.UNKNOWN);
 }
 /**
  * **************************************************************************************************************
  * THE TESTS TODO: Currently the mocking has problems with the https handshake so the test are
  * perform on live data. When this issue is fixed uncoment the reflectBaseUrl call to test on the
  * mock server.
  *
  * <p>**************************************************************************************************************
  */
 public void testBusDataStamped() throws Exception {
   BusData response = collector.getBusData(testTime, Sensor.At_Stop);
   assertTrue(response.getTimestamp() == 1443513325166l);
 }