@Test(expected = UnsupportedOperationException.class)
public void doesNotSupportToStringForRanges() throws Exception {

    Ranges ranges = new Ranges(newArrayList(new Range(1, 100)));
    rangesHeaderDelegate.toString(ranges);
}