METHOD_0 ( ) { org . jboss . as . process . protocol . IDENT_0 IDENT_1 = new org . jboss . as . process . protocol . METHOD_1 ( INT_0 ) ; java . io . InputStream in = IDENT_1 . METHOD_2 ( ) ; java . io . IDENT_2 out = IDENT_1 . METHOD_3 ( ) ; out . close ( ) ; try { out . write ( 0 ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( java . io . IOException expected ) { } "<AssertPlaceHolder>" ; out . close ( ) ; in . close ( ) ; IDENT_1 . METHOD_4 ( ) ; } read ( ) { int r = read ( IDENT_3 , 0 , 1 ) ; while ( r == 0 ) { r = read ( IDENT_3 , 0 , 1 ) ; } if ( r > 0 ) { final byte b = IDENT_3 [ 0 ] ; return b < 0 ? INT_1 + b : b ; } return org . jboss . as . process . IDENT_4 . IDENT_5 . IDENT_6 ; }
org . junit . Assert . assertEquals ( ( - 1 ) , in . read ( ) )