METHOD_0 ( ) { jenkins . model . IDENT_0 j = METHOD_1 ( ) ; org . IDENT_1 . IDENT_2 . IDENT_3 req = hudson . IDENT_4 . METHOD_2 ( STRING_0 ) ; METHOD_3 ( org . IDENT_1 . IDENT_2 . IDENT_5 . class ) ; when ( org . IDENT_1 . IDENT_2 . IDENT_5 . METHOD_4 ( ) ) . thenReturn ( req ) ; hudson . IDENT_4 . IDENT_6 IDENT_7 = mock ( hudson . IDENT_4 . IDENT_6 . class ) ; when ( IDENT_7 . METHOD_5 ( ) ) . thenReturn ( STRING_1 ) ; METHOD_6 ( req , hudson . IDENT_4 . METHOD_7 ( j , STRING_2 ) , hudson . IDENT_4 . METHOD_7 ( IDENT_7 , STRING_3 ) ) ; hudson . model . IDENT_8 m = mock ( hudson . model . IDENT_8 . class ) ; when ( m . METHOD_8 ( ) ) . thenReturn ( IDENT_7 ) ; when ( m . METHOD_5 ( ) ) . thenReturn ( STRING_4 ) ; "<AssertPlaceHolder>" ; } METHOD_9 ( hudson . model . IDENT_8 ) { java . util . Map < java . lang . Object , java . lang . String > IDENT_9 = new java . util . HashMap < java . lang . Object , java . lang . String > ( ) ; hudson . model . IDENT_10 view = null ; org . IDENT_1 . IDENT_2 . IDENT_3 request = org . IDENT_1 . IDENT_2 . IDENT_5 . METHOD_4 ( ) ; for ( org . IDENT_1 . IDENT_2 . IDENT_11 a : request . METHOD_10 ( ) ) { IDENT_9 . put ( a . METHOD_11 ( ) , a . METHOD_12 ( ) ) ; if ( ( a . METHOD_11 ( ) ) instanceof hudson . model . IDENT_10 ) view = ( ( hudson . model . IDENT_10 ) ( a . METHOD_11 ( ) ) ) ; } java . lang . String path = IDENT_9 . get ( p ) ; if ( path != null ) { return hudson . IDENT_12 . METHOD_13 ( ( path + STRING_5 ) ) ; } hudson . model . IDENT_8 i = p ; java . lang . String url = "" ; while ( true ) { hudson . model . IDENT_13 IDENT_14 = i . METHOD_8 ( ) ; url = ( i . METHOD_5 ( ) ) + url ; if ( ( IDENT_14 == ( jenkins . model . IDENT_0 . getInstance ( ) ) ) || ( ( view != null ) && ( IDENT_14 == ( view . METHOD_14 ( ) . METHOD_15 ( ) ) ) ) ) { assert i instanceof hudson . model . IDENT_15 ; if ( view != null ) { return hudson . IDENT_12 . METHOD_13 ( ( ( ( IDENT_9 . get ( view ) ) + STRING_5 ) + url ) ) ; } else { return hudson . IDENT_12 . METHOD_13 ( ( ( ( request . METHOD_16 ( ) ) + STRING_5 ) + ( p . METHOD_17 ( ) ) ) ) ; } } path = IDENT_9 . get ( IDENT_14 ) ; if ( path != null ) { return hudson . IDENT_12 . METHOD_13 ( ( ( path + STRING_5 ) + url ) ) ; } assert IDENT_14 instanceof hudson . model . IDENT_8 ; i = ( ( hudson . model . IDENT_8 ) ( IDENT_14 ) ) ; } }
org . junit . Assert . assertEquals ( STRING_4 , hudson . IDENT_12 . METHOD_9 ( m ) )