@Test
public void noAliveThreadsInRange() {

  double rangeMin = TimeUnit.SECONDS.toMicros(20);
  double rangeMax = TimeUnit.SECONDS.toMicros(25);
  Range range = new Range(rangeMin, rangeMax);
  List<SeriesData<Long>> seriesDataList = myDataSeries.getDataForRange(range);
  // When no threads are find within the requested range, we add the threads count (0)
  // to both range's min and max
  assertEquals(2, seriesDataList.size());
  SeriesData<Long> seriesData = seriesDataList.get(0);
  Objects.requireNonNull(seriesData);
  assertEquals(rangeMin, seriesData.x, 0);
  assertEquals(0, (long)seriesData.value);
  seriesData = seriesDataList.get(1);
  Objects.requireNonNull(seriesData);
  assertEquals(rangeMax, seriesData.x, 0);
  assertEquals(0, (long)seriesData.value);
}