METHOD_0 ( ) { java . util . List < org . IDENT_0 . java . IDENT_1 . IDENT_2 > IDENT_3 = new java . util . ArrayList ( ) ; org . apache . http . client . IDENT_4 client = mock ( org . apache . http . client . IDENT_4 . class ) ; org . IDENT_0 . java . IDENT_1 . IDENT_2 request = mock ( org . IDENT_0 . java . IDENT_1 . IDENT_2 . class ) ; org . apache . http . IDENT_5 response = mock ( org . apache . http . IDENT_5 . class ) ; doReturn ( STRING_0 ) . when ( request ) . METHOD_1 ( ) ; IDENT_3 . add ( request ) ; doReturn ( client ) . when ( IDENT_6 ) . METHOD_2 ( ) ; doReturn ( response ) . when ( client ) . execute ( METHOD_3 ( new org . IDENT_0 . java . IDENT_1 . IDENT_7 . METHOD_4 ( STRING_1 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . IDENT_8 , java . lang . String ) { if ( ( IDENT_9 != null ) && ( ( IDENT_9 . length ( ) ) != ( IDENT_2 . IDENT_10 ) ) ) { throw new java . lang . IllegalArgumentException ( ( ( ( IDENT_9 + STRING_2 ) + ( IDENT_2 . IDENT_10 ) ) + STRING_3 ) ) ; } javax . json . IDENT_11 IDENT_12 = javax . json . IDENT_13 . METHOD_6 ( ) ; javax . json . IDENT_14 IDENT_15 = javax . json . IDENT_13 . METHOD_7 ( ) ; for ( org . IDENT_0 . java . IDENT_1 . IDENT_2 request : IDENT_3 ) { IDENT_15 . add ( ( STRING_4 + ( request . METHOD_1 ( ) ) ) ) ; } IDENT_12 . add ( org . IDENT_0 . java . IDENT_1 . IDENT_16 . IDENT_17 , IDENT_15 ) ; if ( IDENT_9 != null ) { IDENT_12 . add ( org . IDENT_0 . java . IDENT_1 . IDENT_16 . IDENT_18 , IDENT_9 ) ; } org . apache . http . client . IDENT_4 client = METHOD_2 ( ) ; org . apache . http . client . methods . IDENT_19 IDENT_20 = new org . apache . http . client . methods . METHOD_8 ( IDENT_21 . build ( ) ) ; IDENT_20 . METHOD_9 ( new org . apache . http . entity . METHOD_10 ( IDENT_12 . build ( ) . toString ( ) , org . apache . http . entity . IDENT_22 . IDENT_23 ) ) ; try { return client . execute ( IDENT_20 ) ; } finally { IDENT_20 . METHOD_11 ( ) ; } }
org . junit . Assert . assertEquals ( response , IDENT_6 . METHOD_5 ( IDENT_3 , null ) )