METHOD_0 ( ) { org . mule . runtime . core . api . IDENT_0 IDENT_1 = mock ( org . mule . runtime . core . api . IDENT_0 . class ) ; org . mule . runtime . core . api . config . IDENT_2 IDENT_3 = mock ( org . mule . runtime . core . api . config . IDENT_2 . class ) ; when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( IDENT_3 ) ; org . mule . runtime . core . IDENT_4 . IDENT_5 . IDENT_6 IDENT_7 = new org . mule . runtime . core . IDENT_4 . IDENT_5 . METHOD_2 ( IDENT_1 ) ; org . mule . runtime . core . api . IDENT_5 . IDENT_8 IDENT_9 = mock ( org . mule . runtime . core . api . IDENT_5 . IDENT_8 . class ) ; when ( IDENT_9 . transform ( any ( java . lang . Object . class ) ) ) . thenReturn ( null ) ; when ( IDENT_9 . METHOD_3 ( any ( org . mule . runtime . api . metadata . IDENT_10 . class ) ) ) . thenReturn ( true ) ; when ( IDENT_9 . METHOD_4 ( ) ) . thenReturn ( IDENT_10 . IDENT_11 ) ; org . mule . runtime . core . api . IDENT_5 . IDENT_8 IDENT_12 = mock ( org . mule . runtime . core . api . IDENT_5 . IDENT_8 . class ) ; when ( IDENT_12 . transform ( any ( java . lang . Object . class ) ) ) . thenReturn ( "foo" ) ; when ( IDENT_12 . METHOD_3 ( any ( org . mule . runtime . api . metadata . IDENT_10 . class ) ) ) . thenReturn ( true ) ; when ( IDENT_12 . METHOD_4 ( ) ) . thenReturn ( IDENT_10 . IDENT_11 ) ; org . mule . runtime . api . message . Message message = IDENT_7 . METHOD_5 ( of ( "" ) , null , IDENT_9 , IDENT_12 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_9 , METHOD_6 ( ) ) . transform ( null ) ; verify ( IDENT_9 , METHOD_6 ( ) ) . METHOD_7 ( ) ; verify ( IDENT_12 , METHOD_6 ( ) ) . transform ( null ) ; verify ( IDENT_12 , METHOD_6 ( ) ) . METHOD_7 ( ) ; } METHOD_8 ( ) { return payload ; }
org . junit . Assert . assertEquals ( "foo" , message . METHOD_8 ( ) . getValue ( ) )