METHOD_0 ( ) { org . springframework . IDENT_0 . IDENT_1 IDENT_2 = new org . springframework . IDENT_0 . METHOD_1 ( "/" , STRING_0 ) ; when ( IDENT_3 . execute ( org . mockito . Mockito . < org . apache . http . client . methods . IDENT_4 > any ( ) , org . mockito . Mockito . < org . apache . http . client . IDENT_5 < ? > > any ( ) ) ) . thenReturn ( IDENT_6 , IDENT_7 , result ) ; when ( IDENT_6 . METHOD_2 ( STRING_0 ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_7 . METHOD_3 ( org . mockito . Mockito . eq ( STRING_1 ) , org . mockito . Mockito . < org . springframework . IDENT_0 . util . IDENT_8 > any ( ) ) ) . thenReturn ( new org . springframework . IDENT_0 . client . METHOD_4 ( org . springframework . http . IDENT_9 . IDENT_10 , new org . springframework . util . IDENT_11 < java . lang . String , java . lang . String > ( ) , new java . net . URI ( "/" ) , "" , STRING_2 ) ) ; IDENT_12 . METHOD_5 ( STRING_0 ) . METHOD_6 ( STRING_1 , org . springframework . IDENT_0 . util . IDENT_8 . of ( STRING_3 , 1 ) ) ; org . springframework . IDENT_0 . client . IDENT_13 IDENT_14 = IDENT_12 . METHOD_7 ( ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { try { if ( ( IDENT_14 ) == null ) { org . apache . http . client . IDENT_5 < org . springframework . IDENT_0 . client . IDENT_13 > IDENT_15 = new org . springframework . IDENT_0 . client . hc . METHOD_8 ( ) ; System . out . println ( ( STRING_4 + ( IDENT_16 ) ) ) ; org . apache . http . client . methods . IDENT_4 IDENT_17 = METHOD_9 ( IDENT_16 ) ; IDENT_14 = IDENT_3 . execute ( IDENT_17 , IDENT_15 ) ; METHOD_10 ( IDENT_16 ) ; } return IDENT_14 ; } catch ( java . lang . Exception e ) { throw org . springframework . IDENT_0 . util . IDENT_18 . METHOD_11 ( e ) ; } }
org . junit . Assert . assertSame ( result , IDENT_14 )