METHOD_0 ( ) { org . mule . runtime . core . IDENT_0 . util . IDENT_1 IDENT_2 = new org . mule . runtime . core . IDENT_0 . util . METHOD_1 ( STRING_0 , IDENT_3 ) ; IDENT_2 . METHOD_2 ( IDENT_4 ) ; final java . lang . String IDENT_5 = STRING_1 ; doReturn ( new org . mule . runtime . api . metadata . METHOD_3 ( java . lang . Integer . METHOD_4 ( IDENT_5 ) , IDENT_3 ) ) . when ( session ) . evaluate ( anyString ( ) , any ( org . mule . runtime . api . metadata . IDENT_6 . class ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String ) { if ( value == null ) { return value ; } try { return this . IDENT_7 . get ( value , ( ) -> { int IDENT_8 = value . indexOf ( org . mule . runtime . config . internal . IDENT_9 . model . config . IDENT_10 . IDENT_11 ) ; if ( IDENT_8 == ( - 1 ) ) { return value ; } return METHOD_6 ( value ) ; } ) ; } catch ( java . lang . Exception e ) { if ( ( e . METHOD_7 ( ) ) instanceof java . lang . RuntimeException ) { throw ( ( java . lang . RuntimeException ) ( e . METHOD_7 ( ) ) ) ; } else { throw new org . mule . runtime . api . exception . METHOD_8 ( METHOD_9 ( ( STRING_2 + value ) , e ) ) ; } } }
org . junit . Assert . assertThat ( IDENT_2 . METHOD_5 ( event ) , org . hamcrest . core . Is . is ( java . lang . Integer . METHOD_4 ( IDENT_5 ) ) )