METHOD_0 ( ) { try ( java . net . IDENT_0 IDENT_1 = org . wildfly . IDENT_2 . IDENT_3 . METHOD_1 ( ) ) { final java . util . concurrent . atomic . IDENT_4 < byte [ ] > IDENT_5 = new java . util . concurrent . atomic . METHOD_2 ( ) ; java . lang . Thread IDENT_6 = new java . lang . Thread ( new org . wildfly . IDENT_2 . METHOD_3 ( IDENT_1 , org . wildfly . IDENT_2 . IDENT_3 . METHOD_4 ( STRING_0 ) , IDENT_5 ) ) ; IDENT_6 . start ( ) ; final javax . net . IDENT_7 . IDENT_8 IDENT_9 = org . wildfly . IDENT_2 . IDENT_3 . METHOD_5 ( STRING_1 ) ; java . net . IDENT_10 IDENT_11 = ( ( java . net . IDENT_10 ) ( org . wildfly . IDENT_2 . IDENT_3 . METHOD_6 ( ) ) ) ; final javax . net . IDENT_7 . IDENT_12 IDENT_13 = ( ( javax . net . IDENT_7 . IDENT_12 ) ( IDENT_9 . METHOD_7 ( ) . METHOD_8 ( IDENT_11 . METHOD_9 ( ) , IDENT_11 . METHOD_10 ( ) ) ) ) ; IDENT_13 . METHOD_11 ( ) . write ( STRING_2 . getBytes ( IDENT_14 . IDENT_15 ) ) ; IDENT_13 . METHOD_11 ( ) . METHOD_12 ( ) ; byte [ ] data = new byte [ 100 ] ; int read = IDENT_13 . METHOD_13 ( ) . read ( data ) ; "<AssertPlaceHolder>" ; IDENT_1 . close ( ) ; IDENT_6 . join ( ) ; } } read ( java . io . File ) { java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; byte [ ] buf = new byte [ 100 ] ; try ( java . io . IDENT_16 in = new java . io . METHOD_14 ( file ) ) { int r ; while ( ( r = in . read ( buf ) ) > 0 ) { out . write ( buf , 0 , r ) ; } } return new java . lang . String ( out . toByteArray ( ) ) ; }
org . junit . Assert . assertEquals ( STRING_2 , new java . lang . String ( data , 0 , read ) )