METHOD_0 ( ) { org . apache . http . impl . client . IDENT_0 expected = mock ( org . apache . http . impl . client . IDENT_0 . class ) ; org . apache . http . impl . conn . IDENT_1 IDENT_2 = mock ( org . apache . http . impl . conn . IDENT_1 . class ) ; org . apache . http . conn . IDENT_3 IDENT_4 = mock ( org . apache . http . conn . IDENT_3 . class ) ; org . apache . http . conn . IDENT_5 . IDENT_6 IDENT_7 = mock ( org . apache . http . conn . IDENT_5 . IDENT_6 . class ) ; java . net . IDENT_8 IDENT_9 = mock ( java . net . IDENT_8 . class ) ; when ( expected . METHOD_1 ( ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_4 . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; METHOD_3 ( java . net . IDENT_8 . class ) ; when ( java . net . IDENT_8 . METHOD_4 ( ) ) . thenReturn ( IDENT_9 ) ; METHOD_5 ( org . apache . http . impl . client . IDENT_0 . class ) . METHOD_6 ( ) . thenReturn ( expected ) ; METHOD_5 ( org . apache . http . impl . conn . IDENT_1 . class ) . METHOD_7 ( IDENT_7 , IDENT_9 ) . thenReturn ( IDENT_2 ) ; org . apache . http . client . IDENT_10 actual = org . IDENT_11 . IDENT_12 . io . http . IDENT_13 . create ( IDENT_14 , getClass ( ) ) ; "<AssertPlaceHolder>" ; verify ( expected ) . METHOD_8 ( IDENT_2 ) ; } create ( org . IDENT_11 . IDENT_12 . IDENT_15 , java . lang . Class ) { org . apache . http . client . IDENT_10 IDENT_16 = IDENT_14 . get ( ( ( source . getName ( ) ) + ( org . IDENT_11 . IDENT_12 . io . http . IDENT_13 . IDENT_17 ) ) ) ; if ( IDENT_16 != null ) { return IDENT_16 ; } int IDENT_18 = IDENT_14 . METHOD_9 ( ) ; if ( IDENT_18 > 1 ) { org . apache . http . params . IDENT_19 params = new org . apache . http . params . METHOD_10 ( ) ; org . apache . http . params . IDENT_20 . METHOD_11 ( params , IDENT_21 . IDENT_22 ) ; org . apache . http . conn . params . IDENT_23 . METHOD_12 ( params , new org . apache . http . conn . params . METHOD_13 ( IDENT_18 ) ) ; org . apache . http . conn . params . IDENT_23 . METHOD_14 ( params , IDENT_18 ) ; org . apache . http . conn . IDENT_5 . IDENT_6 IDENT_7 = new org . apache . http . conn . IDENT_5 . METHOD_15 ( ) ; IDENT_7 . METHOD_16 ( new org . apache . http . conn . IDENT_5 . METHOD_17 ( STRING_0 , org . apache . http . conn . IDENT_5 . IDENT_24 . METHOD_18 ( ) , org . IDENT_11 . IDENT_12 . io . http . IDENT_13 . IDENT_25 ) ) ; IDENT_7 . METHOD_16 ( new org . apache . http . conn . IDENT_5 . METHOD_17 ( STRING_1 , org . apache . http . conn . IDENT_26 . IDENT_27 . METHOD_18 ( ) , org . IDENT_11 . IDENT_12 . io . http . IDENT_13 . IDENT_28 ) ) ; org . apache . http . conn . IDENT_3 IDENT_29 = new org . apache . http . impl . conn . IDENT_30 . METHOD_19 ( params , IDENT_7 ) ; IDENT_16 = new org . apache . http . impl . client . METHOD_20 ( IDENT_29 , params ) ; } else { IDENT_16 = new org . apache . http . impl . client . METHOD_20 ( ) ; } ( ( org . apache . http . impl . client . METHOD_20 ) ( IDENT_16 ) ) . METHOD_8 ( new org . apache . http . impl . conn . METHOD_21 ( IDENT_16 . METHOD_1 ( ) . METHOD_2 ( ) , java . net . IDENT_8 . METHOD_4 ( ) ) ) ; return IDENT_16 ; }
org . junit . Assert . assertSame ( expected , actual )