@Test
public void testGetMetricData_time_window_less_than_day() {

    val latestTimeInEpoch = earliestTimeInEpoch + TimeConstantsUtil.SECONDS_PER_DAY / 2;
    val expected = buildExpectedResults(earliestTimeInEpoch, 1);
    val actual = sourceUnderTest.getMetricData(earliestTimeInEpoch, latestTimeInEpoch, intervalLength, "metric_name");
    assertEquals(expected, actual);
}