METHOD_0 ( ) { byte [ ] request = new byte [ ] { 5 , 0 , INT_0 , INT_1 , INT_2 , 7 , INT_3 , INT_4 , INT_5 , INT_6 , 100 , 0 , STRING_0 , STRING_1 , STRING_2 , STRING_3 } ; byte [ ] IDENT_0 = new byte [ ] { 0 , INT_7 , - 1 , - 1 , 0 , 0 , 0 , 0 } ; java . io . ByteArrayOutputStream IDENT_1 = new java . io . ByteArrayOutputStream ( ) ; when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( new java . io . ByteArrayInputStream ( request ) ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( IDENT_1 ) ; IDENT_3 . run ( ) ; "<AssertPlaceHolder>" ; } run ( ) { try { java . lang . Thread . METHOD_3 ( ) . METHOD_4 ( Thread . IDENT_4 ) ; while ( this . IDENT_5 . get ( ) ) { this . METHOD_5 ( ) ; } this . IDENT_6 . close ( ) ; } catch ( final java . lang . Exception e ) { if ( this . IDENT_5 . get ( ) ) { this . logger . error ( STRING_4 , METHOD_6 ( this . IDENT_7 ) , e ) ; } } finally { this . logger . info ( STRING_5 , METHOD_6 ( this . IDENT_7 ) ) ; } }
org . junit . Assert . assertArrayEquals ( IDENT_0 , IDENT_1 . toByteArray ( ) )