@Test
public void shouldComputeLength() {

    assertThat(rangeHelper.getRangeLength(new Range(0, 0)), is(1L));
    assertThat(rangeHelper.getRangeLength(new Range(0, 10)), is(11L));
    assertThat(rangeHelper.getRangeLength(new Range(2, 3)), is(2L));
    assertThat(rangeHelper.getRangeLength(new Range(11, 12)), is(2L));
}