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 ( org . apache . camel . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . apache . camel . IDENT_2 , org . apache . camel . IDENT_0 ) { java . lang . Object method = IDENT_3 . METHOD_2 ( ) . METHOD_3 ( IDENT_2 . IDENT_9 ) ; if ( method instanceof java . lang . String ) { return ( ( java . lang . String ) ( method ) ) ; } if ( ( IDENT_3 . METHOD_2 ( ) . METHOD_3 ( IDENT_2 . IDENT_10 ) ) != null ) { return org . apache . camel . IDENT_4 . IDENT_5 . IDENT_11 . IDENT_12 ; } if ( ( IDENT_1 . METHOD_1 ( ) . indexOf ( STRING_0 ) ) != ( - 1 ) ) { return org . apache . camel . IDENT_4 . IDENT_5 . IDENT_11 . IDENT_12 ; } if ( ( IDENT_3 . METHOD_2 ( ) . METHOD_5 ( ) ) != null ) { return org . apache . camel . IDENT_4 . IDENT_5 . IDENT_11 . IDENT_13 ; } return org . apache . camel . IDENT_4 . IDENT_5 . IDENT_11 . IDENT_12 ; }
org . junit . Assert . assertEquals ( IDENT_11 . IDENT_12 , org . apache . camel . IDENT_4 . IDENT_5 . IDENT_11 . METHOD_4 ( IDENT_3 , IDENT_1 ) )