METHOD_0 ( ) { IDENT_0 = new IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . METHOD_1 ( IDENT_6 , IDENT_7 , executor ) { @ IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . Override MOD_0 java . net . IDENT_8 METHOD_2 ( java . net . IDENT_9 IDENT_10 , int port ) throws java . io . IOException { throw new java . IDENT_11 . METHOD_3 ( STRING_0 ) ; } } ; byte [ ] request = new byte [ ] { 1 , 0 , INT_0 , INT_1 , INT_2 , 7 , INT_3 , INT_4 , INT_5 , INT_6 , 100 , 0 , STRING_1 , STRING_2 , STRING_3 , STRING_4 } ; byte [ ] IDENT_12 = new byte [ ] { 0 , INT_7 , 0 , INT_0 , INT_1 , INT_2 , 7 , INT_3 } ; java . io . ByteArrayOutputStream IDENT_13 = new java . io . ByteArrayOutputStream ( ) ; when ( IDENT_7 . METHOD_4 ( ) ) . thenReturn ( new java . io . ByteArrayInputStream ( request ) ) ; when ( IDENT_7 . METHOD_5 ( ) ) . thenReturn ( IDENT_13 ) ; IDENT_0 . run ( ) ; "<AssertPlaceHolder>" ; } run ( ) { try { java . lang . Thread . METHOD_6 ( ) . METHOD_7 ( Thread . IDENT_14 ) ; while ( this . IDENT_15 . get ( ) ) { this . METHOD_8 ( ) ; } this . IDENT_16 . close ( ) ; } catch ( final java . lang . Exception e ) { if ( this . IDENT_15 . get ( ) ) { this . logger . error ( STRING_5 , METHOD_9 ( this . IDENT_17 ) , e ) ; } } finally { this . logger . info ( STRING_6 , METHOD_9 ( this . IDENT_17 ) ) ; } }
org . junit . Assert . assertArrayEquals ( IDENT_12 , IDENT_13 . toByteArray ( ) )