public static IndexRangeStats create(DateTime min, DateTime max, @Nullable List<String> streamIds) {
        return new AutoValue_IndexRangeStats(min, max, streamIds);
    }
@Test
    public void testCreate() throws Exception {
        DateTime min = new DateTime(2015, 1, 1, 0, 0, DateTimeZone.UTC);
        DateTime max = new DateTime(2015, 1, 3, 0, 0, DateTimeZone.UTC);
        IndexRangeStats indexRangeStats = IndexRangeStats.create(min, max);

        assertThat(indexRangeStats.min()).isEqualTo(min);
        assertThat(indexRangeStats.max()).isEqualTo(max);
    }