@Test
public void testMakeIntervalFilterReportLotsOfIntervals() {

    List<ChromosomalRegion> intervals = new ArrayList<>();
    intervals.add(new GeneticInterval(1, 2, 3));
    intervals.add(new GeneticInterval(2, 2, 3));
    intervals.add(new GeneticInterval(3, 2, 3));
    intervals.add(new GeneticInterval(4, 2, 3));
    intervals.add(new GeneticInterval(5, 2, 3));
    intervals.add(new GeneticInterval(6, 2, 3));
    intervals.add(new GeneticInterval(7, 2, 3));
    Filter filter = new IntervalFilter(intervals);
    ImmutableList<String> messages = ImmutableList.of(
            "Restricted variants to intervals:",
            "1:2-3",
            "2:2-3",
            "3:2-3",
            "...",
            "7:2-3"
            );
    FilterReport expected = new FilterReport(filter.getFilterType(), 0, 0, messages);
    FilterReport result = instance.makeFilterReport(filter, analysisResults);
    assertThat(result, equalTo(expected));
}