tests that an exception is thrown if the read exceeds the file length limit . concode_field_sep LocalFileBlockReader mReader concode_elem_sep ExpectedException mThrown concode_elem_sep TemporaryFolder mFolder concode_elem_sep long TEST_BLOCK_SIZE concode_field_sep void read concode_elem_sep void before concode_elem_sep void getChannel concode_elem_sep void getLength concode_elem_sep void close
void function ( ) { mThrown . expect ( IllegalArgumentException . class ) ; mThrown . expectMessage ( "srini_string" ) ; mReader . read ( TEST_BLOCK_SIZE - 1 , 2 ) ; }