### Question:
B2ByteRange { public static B2ByteRange between(long start, long end) { return new B2ByteRange(start, end); } B2ByteRange(Long start, Long end); static B2ByteRange startAt(long start); static B2ByteRange between(long start, long end); static B2ByteRange parse(String s); boolean isSatisfied(long entitySize); B2ByteRange effectiveRange(long entitySize); long getNumberOfBytes(); @Override String toString(); @Override boolean equals(Object o); @Override int hashCode(); final Long start; final Long end; }### Answer:
@Test public void testBetween() { final B2ByteRange r = B2ByteRange.between(4321,9876); assertEquals((Long) 4321L, r.start); assertEquals((Long) 9876L, r.end); assertEquals("bytes=4321-9876", r.toString()); }