METHOD_0 ( ) { final java . lang . String content = org . apache . hc . core5 . http . io . entity . IDENT_0 . METHOD_1 ( org . apache . hc . core5 . http . io . entity . IDENT_0 . IDENT_1 ) ; final byte [ ] bytes = content . getBytes ( IDENT_2 . UTF_8 ) ; final org . apache . hc . core5 . http . io . entity . IDENT_3 entity = new org . apache . hc . core5 . http . io . entity . METHOD_2 ( new java . io . ByteArrayInputStream ( bytes ) , IDENT_4 . IDENT_5 . METHOD_3 ( IDENT_2 . UTF_8 ) ) ; final java . lang . String s = org . apache . hc . core5 . http . io . entity . IDENT_6 . toString ( entity , STRING_0 ) ; "<AssertPlaceHolder>" ; } toString ( org . apache . hc . core5 . http . IDENT_7 , org . apache . hc . core5 . http . IDENT_4 ) { try ( final java . io . InputStream IDENT_8 = entity . METHOD_4 ( ) ) { if ( IDENT_8 == null ) { return null ; } int IDENT_9 = ( ( int ) ( org . apache . hc . core5 . util . IDENT_10 . METHOD_5 ( entity ) ) ) ; if ( IDENT_9 < 0 ) { IDENT_9 = INT_0 ; } java . nio . IDENT_11 . IDENT_12 IDENT_11 = null ; if ( IDENT_13 != null ) { IDENT_11 = IDENT_13 . METHOD_6 ( ) ; if ( IDENT_11 == null ) { final org . apache . hc . core5 . http . IDENT_4 IDENT_14 = org . apache . hc . core5 . http . IDENT_4 . METHOD_7 ( IDENT_13 . METHOD_8 ( ) ) ; IDENT_11 = ( IDENT_14 != null ) ? IDENT_14 . METHOD_6 ( ) : null ; } } if ( IDENT_11 == null ) { IDENT_11 = java . nio . IDENT_11 . IDENT_2 . IDENT_15 ; } final java . io . IDENT_16 reader = new java . io . METHOD_9 ( IDENT_8 , IDENT_11 ) ; final org . apache . hc . core5 . util . IDENT_17 buffer = new org . apache . hc . core5 . util . METHOD_10 ( IDENT_9 ) ; final char [ ] IDENT_18 = new char [ INT_1 ] ; int IDENT_19 ; while ( ( IDENT_19 = reader . read ( IDENT_18 ) ) != ( - 1 ) ) { buffer . append ( IDENT_18 , 0 , IDENT_19 ) ; } return buffer . toString ( ) ; } }
org . junit . Assert . assertEquals ( content , s )