METHOD_0 ( ) { final org . apache . hc . core5 . http . IDENT_0 target = new org . apache . hc . core5 . http . METHOD_1 ( STRING_0 , STRING_1 , INT_0 ) ; final java . net . URI IDENT_1 = new org . apache . hc . core5 . net . METHOD_2 ( ) . METHOD_3 ( target . METHOD_4 ( ) ) . METHOD_5 ( target . METHOD_6 ( ) ) . METHOD_7 ( STRING_2 ) . METHOD_8 ( STRING_3 ) . build ( ) ; final java . net . URI location = org . apache . hc . IDENT_2 . http . utils . IDENT_3 . resolve ( IDENT_1 , target , null ) ; final java . net . URI IDENT_4 = IDENT_1 ; "<AssertPlaceHolder>" ; } resolve ( java . net . URI , org . apache . hc . core5 . http . METHOD_1 , java . util . List ) { org . apache . hc . core5 . util . IDENT_5 . METHOD_9 ( IDENT_6 , STRING_4 ) ; final org . apache . hc . core5 . net . METHOD_2 IDENT_7 ; if ( ( IDENT_8 == null ) || ( IDENT_8 . isEmpty ( ) ) ) { IDENT_7 = new org . apache . hc . core5 . net . METHOD_2 ( IDENT_6 ) ; } else { IDENT_7 = new org . apache . hc . core5 . net . METHOD_2 ( IDENT_8 . get ( ( ( IDENT_8 . size ( ) ) - 1 ) ) ) ; java . lang . String IDENT_9 = IDENT_7 . METHOD_10 ( ) ; for ( int i = ( IDENT_8 . size ( ) ) - 1 ; ( IDENT_9 == null ) && ( i >= 0 ) ; i OP_0 ) { IDENT_9 = IDENT_8 . get ( i ) . METHOD_10 ( ) ; } IDENT_7 . METHOD_8 ( IDENT_9 ) ; } if ( ( IDENT_7 . METHOD_10 ( ) ) == null ) { IDENT_7 . METHOD_8 ( IDENT_6 . METHOD_10 ( ) ) ; } if ( ( target != null ) && ( ! ( IDENT_7 . METHOD_11 ( ) ) ) ) { IDENT_7 . METHOD_5 ( target . METHOD_6 ( ) ) ; IDENT_7 . METHOD_3 ( target . METHOD_4 ( ) ) ; IDENT_7 . METHOD_12 ( target . METHOD_13 ( ) ) ; } return IDENT_7 . build ( ) ; }
org . junit . Assert . assertEquals ( IDENT_4 , location )