METHOD_0 ( ) { org . mule . runtime . core . api . IDENT_0 . IDENT_1 IDENT_0 = new org . mule . runtime . core . internal . IDENT_0 . builder . METHOD_1 ( ) . from ( IDENT_2 . IDENT_3 ) . to ( IDENT_2 . IDENT_4 ) . METHOD_2 ( "bar" ) . build ( ) ; org . mule . runtime . core . api . IDENT_0 . IDENT_1 converter = new org . mule . runtime . core . internal . IDENT_0 . builder . METHOD_3 ( ) . from ( IDENT_2 . IDENT_4 ) . to ( IDENT_2 . IDENT_3 ) . METHOD_2 ( "bar" . getBytes ( ) ) . build ( ) ; when ( IDENT_5 . resolve ( any ( org . mule . runtime . api . metadata . IDENT_2 . class ) , METHOD_4 ( ) ) ) . thenReturn ( converter ) ; org . mule . runtime . api . message . Message message = of ( STRING_0 ) ; message = IDENT_6 . METHOD_5 ( message , null , IDENT_0 ) ; "<AssertPlaceHolder>" ; METHOD_6 ( IDENT_0 ) ; METHOD_6 ( converter ) ; } METHOD_7 ( ) { return payload ; }
org . junit . Assert . assertEquals ( "bar" , message . METHOD_7 ( ) . getValue ( ) )