METHOD_0 ( ) { final org . apache . camel . IDENT_0 . IDENT_1 . IDENT_2 format = new org . apache . camel . IDENT_0 . IDENT_1 . METHOD_1 ( org . wildfly . camel . test . IDENT_1 . model . IDENT_3 . Person . METHOD_2 ( ) ) ; org . apache . camel . IDENT_4 IDENT_5 = new org . apache . camel . impl . METHOD_3 ( ) ; IDENT_5 . METHOD_4 ( new org . apache . camel . builder . METHOD_5 ( ) { @ org . wildfly . camel . test . IDENT_1 . Override public void METHOD_6 ( ) throws org . wildfly . camel . test . IDENT_1 . Exception { from ( STRING_0 ) . METHOD_7 ( format ) ; } } ) ; final java . io . ByteArrayOutputStream IDENT_6 = new java . io . ByteArrayOutputStream ( ) ; org . wildfly . camel . test . IDENT_1 . model . IDENT_3 . Person person = org . wildfly . camel . test . IDENT_1 . model . IDENT_3 . Person . METHOD_8 ( ) . setId ( 1 ) . setName ( STRING_1 ) . build ( ) ; person . METHOD_9 ( IDENT_6 ) ; IDENT_5 . start ( ) ; try { org . apache . camel . IDENT_7 IDENT_8 = IDENT_5 . METHOD_10 ( ) ; org . wildfly . camel . test . IDENT_1 . model . IDENT_3 . Person result = IDENT_8 . METHOD_11 ( STRING_0 , IDENT_6 . toByteArray ( ) , org . wildfly . camel . test . IDENT_1 . model . IDENT_3 . Person . class ) ; "<AssertPlaceHolder>" ; } finally { IDENT_5 . METHOD_12 ( ) ; } } getName ( ) { return IDENT_9 ; }
org . junit . Assert . assertEquals ( STRING_1 , result . getName ( ) . trim ( ) )