METHOD_0 ( ) { org . apache . camel . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( org . apache . camel . IDENT_0 . class ) ; org . apache . camel . IDENT_2 IDENT_3 = org . mockito . Mockito . mock ( org . apache . camel . IDENT_2 . class ) ; org . apache . camel . Message message = org . mockito . Mockito . mock ( org . apache . camel . Message . class ) ; org . mockito . Mockito . when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( org . apache . camel . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 ) ; org . mockito . Mockito . when ( IDENT_3 . METHOD_2 ( ) ) . thenReturn ( message ) ; org . mockito . Mockito . when ( message . METHOD_3 ( IDENT_2 . IDENT_8 ) ) . thenReturn ( STRING_0 ) ; org . mockito . Mockito . when ( message . METHOD_3 ( IDENT_2 . IDENT_9 ) ) . thenReturn ( org . apache . camel . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 ) ; org . apache . camel . IDENT_4 . IDENT_5 . IDENT_10 IDENT_11 = new org . apache . camel . IDENT_4 . IDENT_5 . METHOD_4 ( ) { @ org . apache . camel . IDENT_4 . IDENT_5 . Override public java . lang . String METHOD_5 ( ) { return null ; } } ; "<AssertPlaceHolder>" ; } METHOD_6 ( org . apache . camel . IDENT_2 , org . apache . camel . IDENT_0 ) { java . lang . Object url = IDENT_3 . METHOD_2 ( ) . METHOD_3 ( IDENT_2 . IDENT_9 ) ; if ( url instanceof java . lang . String ) { return ( ( java . lang . String ) ( url ) ) ; } else { java . lang . Object uri = IDENT_3 . METHOD_2 ( ) . METHOD_3 ( IDENT_2 . IDENT_8 ) ; if ( uri instanceof java . lang . String ) { return ( ( java . lang . String ) ( uri ) ) ; } else { int index = IDENT_1 . METHOD_1 ( ) . METHOD_7 ( STRING_1 ) ; if ( index != ( - 1 ) ) { return IDENT_1 . METHOD_1 ( ) . substring ( index ) ; } } } return null ; }
org . junit . Assert . assertEquals ( org . apache . camel . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 , IDENT_11 . METHOD_6 ( IDENT_3 , IDENT_1 ) )