@Test(expected = UnsupportedOperationException.class) public void doesNotSupportToStringForRanges() throws Exception { Ranges ranges = new Ranges(newArrayList(new Range(1, 100))); rangesHeaderDelegate.toString(ranges); }
@Override public String toString(Ranges value) { throw new UnsupportedOperationException("Range header used only in requests."); }
RangesHeaderDelegate implements RuntimeDelegate.HeaderDelegate<Ranges> { @Override public String toString(Ranges value) { throw new UnsupportedOperationException("Range header used only in requests."); } }
RangesHeaderDelegate implements RuntimeDelegate.HeaderDelegate<Ranges> { @Override public String toString(Ranges value) { throw new UnsupportedOperationException("Range header used only in requests."); }  }
RangesHeaderDelegate implements RuntimeDelegate.HeaderDelegate<Ranges> { @Override public String toString(Ranges value) { throw new UnsupportedOperationException("Range header used only in requests."); }  @Override Ranges fromString(String value); @Override String toString(Ranges value); }
RangesHeaderDelegate implements RuntimeDelegate.HeaderDelegate<Ranges> { @Override public String toString(Ranges value) { throw new UnsupportedOperationException("Range header used only in requests."); }  @Override Ranges fromString(String value); @Override String toString(Ranges value);  }