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 . IDENT_3 entity = new org . apache . hc . core5 . http . io . entity . METHOD_2 ( STRING_0 , null ) { @ org . apache . hc . core5 . http . io . entity . Override public java . io . InputStream METHOD_3 ( ) throws java . io . IOException , org . apache . hc . core5 . http . io . entity . IDENT_4 { return new java . io . ByteArrayInputStream ( bytes ) ; } @ org . apache . hc . core5 . http . io . entity . Override public boolean METHOD_4 ( ) { return false ; } @ org . apache . hc . core5 . http . io . entity . Override public long METHOD_5 ( ) { return bytes . length ; } @ org . apache . hc . core5 . http . io . entity . Override public void close ( ) throws java . io . IOException { } } ; final java . lang . String s = org . apache . hc . core5 . http . io . entity . IDENT_5 . toString ( entity , STRING_1 ) ; "<AssertPlaceHolder>" ; } toString ( org . apache . hc . core5 . http . IDENT_3 , org . apache . hc . core5 . http . IDENT_6 ) { try ( final java . io . InputStream IDENT_7 = entity . METHOD_3 ( ) ) { if ( IDENT_7 == null ) { return null ; } int IDENT_8 = ( ( int ) ( org . apache . hc . core5 . util . IDENT_9 . METHOD_6 ( entity ) ) ) ; if ( IDENT_8 < 0 ) { IDENT_8 = INT_0 ; } java . nio . IDENT_10 . IDENT_11 IDENT_10 = null ; if ( IDENT_12 != null ) { IDENT_10 = IDENT_12 . METHOD_7 ( ) ; if ( IDENT_10 == null ) { final org . apache . hc . core5 . http . IDENT_6 IDENT_13 = org . apache . hc . core5 . http . IDENT_6 . METHOD_8 ( IDENT_12 . METHOD_9 ( ) ) ; IDENT_10 = ( IDENT_13 != null ) ? IDENT_13 . METHOD_7 ( ) : null ; } } if ( IDENT_10 == null ) { IDENT_10 = java . nio . IDENT_10 . IDENT_2 . IDENT_14 ; } final java . io . IDENT_15 reader = new java . io . METHOD_10 ( IDENT_7 , IDENT_10 ) ; final org . apache . hc . core5 . util . IDENT_16 buffer = new org . apache . hc . core5 . util . METHOD_11 ( IDENT_8 ) ; final char [ ] IDENT_17 = new char [ INT_1 ] ; int IDENT_18 ; while ( ( IDENT_18 = reader . read ( IDENT_17 ) ) != ( - 1 ) ) { buffer . append ( IDENT_17 , 0 , IDENT_18 ) ; } return buffer . toString ( ) ; } }
org . junit . Assert . assertEquals ( content , s )