@Test
public void emptyData() {

  mySeries = new LegacyCpuUsageDataSeries(
    new ProfilerClient(myGrpcChannel.getName()).getCpuClient(), ProfilersTestData.SESSION_DATA, false);
  assertNotNull(mySeries);
  assertFalse(mySeries.getDataForRange(ANY_RANGE).isEmpty());
  myService.setEmptyUsageData(true);
  assertTrue(mySeries.getDataForRange(ANY_RANGE).isEmpty());
}