### Question:
BreakpointInterceptor implements Interceptor.Connect, Interceptor.Fetch { @IntRange(from = -1) static long getRangeRightFromContentRange(@NonNull String contentRange) { Matcher m = CONTENT_RANGE_RIGHT_VALUE.matcher(contentRange); if (m.find()) { return Long.parseLong(m.group(1)); } return -1; }  @NonNull @Override DownloadConnection.Connected interceptConnect(DownloadChain chain); @Override long interceptFetch(DownloadChain chain);  }### Answer:
@Test public void getRangeRightFromContentRange() { assertThat(BreakpointInterceptor.getRangeRightFromContentRange("bytes 1-111/222")) .isEqualTo(111L); assertThat(BreakpointInterceptor.getRangeRightFromContentRange("bytes 1 -111/222")) .isEqualTo(111L); assertThat(BreakpointInterceptor.getRangeRightFromContentRange("bytes 1 - 111/222")) .isEqualTo(111L); assertThat(BreakpointInterceptor.getRangeRightFromContentRange("bytes 1 - 111 /222")) .isEqualTo(111L); assertThat(BreakpointInterceptor.getRangeRightFromContentRange("bytes 1 - 111 / 222")) .isEqualTo(111L); }