METHOD_0 ( ) { java . net . URI IDENT_0 = new java . net . URI ( STRING_0 ) ; java . net . URI IDENT_1 = new java . net . URI ( STRING_1 ) ; org . apache . hadoop . yarn . api . records . IDENT_2 id = org . apache . hadoop . yarn . server . utils . IDENT_3 . METHOD_1 ( INT_0 , 5 ) ; java . net . URI expected = new java . net . URI ( STRING_2 ) ; java . net . URI result = org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . METHOD_2 ( IDENT_0 , IDENT_1 , id ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . net . URI , java . net . URI , org . apache . hadoop . yarn . api . records . IDENT_2 ) { try { java . lang . String path = org . apache . hadoop . yarn . server . IDENT_4 . IDENT_5 . getPath ( id , ( IDENT_0 == null ? "/" : IDENT_0 . getPath ( ) ) ) ; return new java . net . URI ( IDENT_1 . METHOD_3 ( ) , IDENT_1 . METHOD_4 ( ) , path , ( IDENT_0 == null ? null : IDENT_0 . METHOD_5 ( ) ) , ( IDENT_0 == null ? null : IDENT_0 . METHOD_6 ( ) ) ) ; } catch ( java . net . IDENT_6 e ) { throw new java . lang . RuntimeException ( ( STRING_3 + IDENT_0 ) , e ) ; } }
org . junit . Assert . assertEquals ( expected , result )