@Test
public void testGetMetricData_seven_days() {

    val windowLength = 7;
    val latestTimeInEpoch = earliestTimeInEpoch + windowLength * TimeConstantsUtil.SECONDS_PER_DAY;
    val expected = buildExpectedResults(earliestTimeInEpoch, windowLength);
    val actual = sourceUnderTest.getMetricData(earliestTimeInEpoch, latestTimeInEpoch, intervalLength, "metric_name");
    assertEquals(expected, actual);
    assertEquals(noOfBinsInADay * windowLength, actual.size());
}