@Test
public void testReadPartialContentWithChunkSizeOk() throws Exception {
String content = m_content;
PartialContentConnection conn = new PartialContentConnection(content, false);
ConnectionHandler handler = new TestConnectionHandler(conn);
// should cause chunks of 1024 bytes to be used, which means 4 complete chunks and one chunk of 704 bytes...
ContentRangeInputStream is = new ContentRangeInputStream(handler, m_testURL, 0, 1024);
assertEquals(slurpAsStringWithBuffer(is), content);