BufferedPositionedInputStream bpis =
new BufferedPositionedInputStream( is );
storage.bindTo(testFile.getName(), bpis, 0, testFile.length());
// Skip till middle of a line
storage.skip( (text.length() + 1 )
* (LOOP_COUNT/2) + text.length()/2 );
// Test if we have skipped till end of the line
assertEquals( "Invalid Bytes Skiped", storage.getPosition(),
(text.length()+1) * ((LOOP_COUNT/2) +1 ) );