METHOD_0 ( ) { com . IDENT_0 . api . http . IDENT_1 . IDENT_2 client = METHOD_1 ( new com . IDENT_0 . api . http . METHOD_2 ( ) . METHOD_3 ( new com . IDENT_0 . api . http . METHOD_4 ( STRING_0 , STRING_1 ) , STRING_2 , STRING_3 , java . util . Collections . METHOD_5 ( STRING_4 , java . util . Collections . singletonList ( STRING_5 ) ) ) ) ; client . connection = mock ( java . net . IDENT_3 . class ) ; METHOD_6 ( ) . when ( client ) . METHOD_7 ( ) ; java . util . concurrent . IDENT_4 < ? > IDENT_5 = mock ( java . util . concurrent . IDENT_4 . class ) ; com . IDENT_0 . api . http . IDENT_6 response = client . METHOD_8 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( client . connection ) . METHOD_9 ( STRING_6 , STRING_7 ) ; verify ( client . connection ) . METHOD_9 ( STRING_4 , STRING_5 ) ; verify ( client . connection ) . METHOD_10 ( STRING_2 ) ; verify ( IDENT_5 ) . call ( ) ; } METHOD_8 ( java . util . concurrent . IDENT_4 ) { METHOD_7 ( ) ; if ( ( IDENT_7 ) != null ) { connection . METHOD_9 ( STRING_6 , IDENT_7 . METHOD_11 ( ) ) ; } for ( Map . Entry < java . lang . String , java . util . List < java . lang . String > > IDENT_8 : headers . entrySet ( ) ) { for ( java . lang . String IDENT_9 : IDENT_8 . getValue ( ) ) { connection . METHOD_9 ( IDENT_8 . getKey ( ) , IDENT_9 ) ; } } try { connection . METHOD_10 ( method ) ; IDENT_5 . call ( ) ; } catch ( java . lang . Exception e ) { throw new java . lang . RuntimeException ( e ) ; } return this ; }
org . junit . Assert . assertEquals ( client , response )