@Test
public void testAddIntervalFilter() {

    GeneticInterval geneticInterval = new GeneticInterval(1, 1234, 6789);
    analysisBuilder.addIntervalFilter(geneticInterval);
    assertThat(buildAndGetSteps(), equalTo(singletonList(new IntervalFilter(geneticInterval))));
}