METHOD_0 ( ) { org . apache . camel . IDENT_0 IDENT_1 = new org . apache . camel . impl . METHOD_1 ( ) ; IDENT_1 . METHOD_2 ( new org . apache . camel . builder . METHOD_3 ( ) { @ org . wildfly . camel . test . IDENT_2 . Override public void METHOD_4 ( ) throws org . wildfly . camel . test . IDENT_2 . Exception { from ( STRING_0 ) . to ( STRING_1 ) ; } } ) ; IDENT_1 . start ( ) ; try { java . lang . String input = org . wildfly . camel . test . common . utils . TestUtils . METHOD_5 ( org . wildfly . camel . test . IDENT_2 . IDENT_3 . class , STRING_2 ) ; java . lang . String output = org . wildfly . camel . test . common . utils . TestUtils . METHOD_5 ( org . wildfly . camel . test . IDENT_2 . IDENT_3 . class , STRING_3 ) ; org . apache . camel . IDENT_4 template = IDENT_1 . METHOD_6 ( ) ; java . lang . String result = template . METHOD_7 ( STRING_0 , input , java . lang . String . class ) ; "<AssertPlaceHolder>" ; } finally { IDENT_1 . METHOD_8 ( ) ; } } METHOD_5 ( java . lang . Class , java . lang . String ) { try ( java . io . InputStream in = clazz . getResourceAsStream ( IDENT_5 ) ) { org . wildfly . camel . utils . IDENT_6 . assertNotNull ( in , ( STRING_4 + IDENT_5 ) ) ; java . io . ByteArrayOutputStream out = new java . io . ByteArrayOutputStream ( ) ; org . wildfly . camel . utils . IDENT_7 . METHOD_9 ( in , out ) ; return new java . lang . String ( out . toByteArray ( ) ) ; } }
org . junit . Assert . assertEquals ( output , result )