METHOD_0 ( ) { com . IDENT_0 . http . IDENT_1 . IDENT_2 config = this . METHOD_1 ( ) ; com . IDENT_0 . http . IDENT_1 . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( com . IDENT_0 . http . IDENT_1 . IDENT_3 . class ) ; com . IDENT_0 . http . IDENT_1 . IDENT_5 IDENT_6 = org . mockito . Mockito . mock ( com . IDENT_0 . http . IDENT_1 . IDENT_5 . class ) ; org . mockito . Mockito . when ( config . METHOD_2 ( ) ) . thenReturn ( IDENT_4 ) ; org . mockito . Mockito . when ( config . METHOD_3 ( ) ) . thenReturn ( IDENT_6 ) ; com . IDENT_0 . http . IDENT_1 . IDENT_7 IDENT_8 = com . IDENT_0 . http . IDENT_1 . IDENT_7 . getInstance ( ) ; IDENT_8 . init ( config ) ; "<AssertPlaceHolder>" ; IDENT_8 . close ( ) ; } init ( com . IDENT_0 . http . IDENT_1 . IDENT_2 ) { if ( ! ( IDENT_9 . METHOD_4 ( false , true ) ) ) { try { IDENT_10 . METHOD_5 ( ) ; } catch ( java . lang . IDENT_11 e ) { throw new com . IDENT_0 . exceptions . METHOD_6 ( STRING_0 , STRING_1 , e ) ; } return ; } final com . IDENT_0 . http . IDENT_1 . IDENT_2 config = ( IDENT_12 != null ) ? IDENT_12 : com . IDENT_0 . http . IDENT_1 . IDENT_2 . METHOD_7 ( ) ; this . IDENT_13 = config ; org . apache . http . impl . client . IDENT_14 builder = METHOD_8 ( ) ; org . apache . http . client . config . IDENT_15 IDENT_16 = org . apache . http . client . config . IDENT_15 . METHOD_9 ( ) . METHOD_10 ( ( ( int ) ( config . METHOD_11 ( ) ) ) ) . METHOD_12 ( ( ( int ) ( config . METHOD_13 ( ) ) ) ) . METHOD_14 ( ( ( int ) ( config . METHOD_15 ( ) ) ) ) . build ( ) ; builder . METHOD_16 ( IDENT_16 ) ; METHOD_17 ( ) ; builder . METHOD_18 ( IDENT_17 ) ; com . IDENT_0 . http . IDENT_1 . IDENT_18 . METHOD_19 ( IDENT_17 , config . METHOD_20 ( ) ) ; METHOD_21 ( ) ; if ( ( config . METHOD_22 ( ) ) > 0 ) { builder . METHOD_23 ( new org . apache . http . conn . METHOD_24 ( ) { @ com . IDENT_0 . http . IDENT_1 . Override public long METHOD_25 ( org . apache . http . IDENT_19 response , org . apache . http . protocol . IDENT_20 context ) { long IDENT_21 = IDENT_22 . INSTANCE . METHOD_25 ( response , context ) ; if ( ( IDENT_21 > 0 ) && ( IDENT_21 < ( config . METHOD_22 ( ) ) ) ) { return IDENT_21 ; } else { return config . METHOD_22 ( ) ; } } } ) ; } IDENT_8 = builder . build ( ) ; IDENT_10 . METHOD_26 ( ) ; }
org . junit . Assert . assertTrue ( ( IDENT_8 instanceof com . IDENT_0 . http . IDENT_1 . IDENT_7 ) )