@Test
public void shouldComputeTotalLengthX() {

    List<Range> ranges = new ArrayList<>();
    ranges.add(new Range(0, 1));
    ranges.add(new Range(2, 3));
    assertThat(rangeHelper.getTotalLength(ranges), is(4L));
}