@Test
public void shouldComputeTotalLength() {

    List<Range> ranges = new ArrayList<>();
    ranges.add(new Range(0, 0));
    ranges.add(new Range(0, 10));
    assertThat(rangeHelper.getTotalLength(ranges), is(12L));
}