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

    IntervalSet set = new IntervalSet();
    Assert.assertTrue(set.add(new Interval(0.0, 1.0)));
    Assert.assertTrue(set.add(new Interval(1.0, 1.0)));
    Assert.assertTrue(set.add(new Interval(1.0, 2.0)));
    set.add(new Interval(1, 3));
}