METHOD_0 ( ) { "<AssertPlaceHolder>" ; } METHOD_0 ( java . lang . String ) { final java . lang . String IDENT_0 = ( IDENT_1 . startsWith ( "/" ) ) ? IDENT_1 . substring ( 1 ) : IDENT_1 ; final int IDENT_2 = IDENT_0 . METHOD_1 ( "/" ) ; final java . lang . String path = ( IDENT_2 == ( - 1 ) ) ? "" : IDENT_0 . substring ( 0 , IDENT_2 ) ; if ( path . startsWith ( STRING_0 ) ) { return org . IDENT_3 . IDENT_4 . model . IDENT_5 . METHOD_2 ( IDENT_0 , path ) ; } else if ( IDENT_0 . startsWith ( STRING_1 ) ) { return java . util . Optional . of ( org . IDENT_3 . IDENT_4 . model . IDENT_5 . IDENT_6 ) ; } return java . util . Optional . of ( org . IDENT_3 . IDENT_4 . model . IDENT_5 . IDENT_7 ) ; }
org . junit . Assert . assertEquals ( expected , org . IDENT_3 . IDENT_4 . model . IDENT_5 . METHOD_0 ( path ) )