METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . apache . http . client . methods . IDENT_1 IDENT_2 = org . mockito . Mockito . mock ( org . apache . http . client . methods . IDENT_1 . class ) ; org . apache . http . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . apache . http . IDENT_3 . class ) ; java . io . InputStream is = new java . io . ByteArrayInputStream ( IDENT_0 . getBytes ( ) ) ; org . mockito . Mockito . doReturn ( is ) . when ( IDENT_4 ) . METHOD_1 ( ) ; org . mockito . Mockito . doReturn ( IDENT_4 ) . when ( IDENT_2 ) . METHOD_2 ( ) ; java . lang . String IDENT_5 = IDENT_6 . METHOD_3 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . apache . http . client . methods . IDENT_1 ) { java . io . InputStream IDENT_7 = response . METHOD_2 ( ) . METHOD_1 ( ) ; java . io . StringWriter writer = new java . io . StringWriter ( ) ; org . apache . commons . io . IDENT_8 . METHOD_4 ( IDENT_7 , writer , java . nio . IDENT_9 . IDENT_10 . METHOD_5 ( ) ) ; IDENT_7 . close ( ) ; response . close ( ) ; return writer . toString ( ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , IDENT_5 )