@Test(expectedExceptions = IllegalArgumentException.class)
public void testStartOverlappingContinuousUnder() {

    IntervalSet set = new IntervalSet();
    Assert.assertTrue(set.add(new Interval(0, 0)));
    Assert.assertTrue(set.add(new Interval(0, 6)));
    set.add(new Interval(0, 5));
}