@Test
public void testMetaPrefix() {

    // Null date range
    Assert.assertEquals(getPrefix() + "/META_V2", metaProxy.getMetaPrefix(null));
    Instant now = Instant.now();
    // No end date.
    Assert.assertEquals(
            getPrefix() + "/META_V2/" + now.toEpochMilli(),
            metaProxy.getMetaPrefix(new DateUtil.DateRange(now, null)));
    // No start date
    Assert.assertEquals(
            getPrefix() + "/META_V2",
            metaProxy.getMetaPrefix(new DateUtil.DateRange(null, Instant.now())));
    long start = 1834567890L;
    long end = 1834877776L;
    Assert.assertEquals(
            getPrefix() + "/META_V2/1834",
            metaProxy.getMetaPrefix(
                    new DateUtil.DateRange(
                            Instant.ofEpochSecond(start), Instant.ofEpochSecond(end))));
}