@Test(dataProvider = "intervals")
public void testInsert(List<Interval> intervals, Interval newInterval, List<Interval> expected) {

    assertEquals(new InsertInterval().insert(intervals, newInterval), expected);
}