METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 + ( ( STRING_1 + STRING_2 ) + STRING_3 ) ; java . lang . String IDENT_1 = METHOD_1 ( STRING_4 , IDENT_2 . UTF_8 ) ; io . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . Builder IDENT_7 = io . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 . METHOD_2 ( ) ; METHOD_3 ( IDENT_7 , IDENT_1 ) ; io . IDENT_3 . IDENT_4 . IDENT_5 . IDENT_6 IDENT_8 = IDENT_7 . build ( ) ; IDENT_9 . METHOD_4 ( IDENT_8 ) ; org . apache . http . impl . client . IDENT_10 IDENT_11 = org . mockito . Mockito . mock ( org . apache . http . impl . client . IDENT_10 . class ) ; org . apache . http . client . methods . IDENT_12 IDENT_13 = org . mockito . Mockito . mock ( org . apache . http . client . methods . IDENT_12 . class ) ; org . mockito . Mockito . when ( IDENT_13 . METHOD_5 ( ) ) . thenReturn ( new io . IDENT_3 . IDENT_14 . rest . IDENT_15 . METHOD_6 ( 200 ) ) ; org . mockito . Mockito . when ( IDENT_13 . METHOD_7 ( ) ) . thenReturn ( new io . IDENT_3 . IDENT_14 . rest . IDENT_15 . METHOD_8 ( IDENT_0 ) ) ; org . mockito . Mockito . when ( IDENT_11 . execute ( org . mockito . Mockito . any ( org . apache . http . client . methods . IDENT_16 . class ) , org . mockito . Mockito . any ( org . apache . http . protocol . IDENT_17 . class ) ) ) . thenReturn ( IDENT_13 ) ; IDENT_18 . METHOD_9 ( IDENT_11 ) ; java . security . IDENT_19 IDENT_20 = org . mockito . Mockito . mock ( java . security . IDENT_19 . class ) ; org . mockito . Mockito . when ( IDENT_20 . getName ( ) ) . thenReturn ( IDENT_8 . METHOD_10 ( ) . METHOD_11 ( ) ) ; org . springframework . test . web . servlet . IDENT_21 res = IDENT_22 . METHOD_12 ( org . springframework . test . web . servlet . request . IDENT_23 . METHOD_13 ( STRING_5 ) . METHOD_14 ( IDENT_20 ) . accept ( IDENT_24 . IDENT_25 ) . content ( IDENT_0 ) . METHOD_15 ( IDENT_24 . IDENT_25 ) ) . andReturn ( ) ; java . lang . String response = res . METHOD_16 ( ) . METHOD_17 ( ) ; System . out . println ( response ) ; "<AssertPlaceHolder>" ; } METHOD_14 ( java . lang . String ) { if ( IDENT_26 == null ) return io . IDENT_27 . core . IDENT_28 . IDENT_29 . of ( io . IDENT_3 . IDENT_14 . metrics . IDENT_30 . IDENT_31 , STRING_6 ) ; else return io . IDENT_27 . core . IDENT_28 . IDENT_29 . of ( io . IDENT_3 . IDENT_14 . metrics . IDENT_30 . IDENT_31 , IDENT_26 ) ; }
org . junit . Assert . assertEquals ( 200 , res . METHOD_16 ( ) . getStatus ( ) )