tests the read byte , int , int method . concode_field_sep UnderFileSystemFileInStream mTestStream concode_elem_sep int FILE_SIZE concode_elem_sep ConfigurationRule mConfigurationRule concode_elem_sep NettyUnderFileSystemFileReader mMockReader concode_elem_sep byte[] mData concode_elem_sep long FILE_ID concode_field_sep void readByteArray concode_elem_sep void before concode_elem_sep void readByteBuffered concode_elem_sep void readByte concode_elem_sep void readBulkBuffered concode_elem_sep void readToEOF
void function ( ) { byte [ ] loc0 = new byte [ FILE_SIZE ] ; Assert . assertEquals ( FILE_SIZE / 2 , mTestStream . read ( loc0 , FILE_SIZE / 2 , FILE_SIZE / 2 ) ) ; for ( int loc1 = 0 ; loc1 < FILE_SIZE ; loc1 ++ ) { Assert . assertEquals ( ( byte ) Math . max ( 0 , loc1 - FILE_SIZE / 2 ) , loc0 [ loc1 ] ) ; } }