METHOD_0 ( ) { java . io . InputStream stream = new java . io . ByteArrayInputStream ( new byte [ ] { 0 , 1 , 2 , 3 , 4 , 5 } ) ; org . jboss . IDENT_0 . common . io . IDENT_1 . METHOD_1 ( stream , 2 ) ; "<AssertPlaceHolder>" ; } read ( ) { try { final int IDENT_2 = msg . METHOD_2 ( buf , 1 ) ; return IDENT_2 != ( - 1 ) ? ( buf [ 0 ] ) & 255 : - 1 ; } catch ( javax . jms . IDENT_3 e ) { throw new java . io . IOException ( e ) ; } }
org . junit . Assert . assertEquals ( 2 , stream . read ( ) )