METHOD_0 ( ) { byte [ ] IDENT_0 = org . apache . camel . component . IDENT_1 . internal . IDENT_2 . IDENT_3 . getBytes ( ) ; java . io . ByteArrayOutputStream IDENT_4 = new java . io . ByteArrayOutputStream ( ( ( IDENT_0 . length ) + 1 ) ) ; int IDENT_5 = ( IDENT_0 . length ) / 2 ; IDENT_4 . write ( IDENT_0 , 0 , IDENT_5 ) ; IDENT_4 . write ( IDENT_6 . IDENT_7 ) ; IDENT_4 . write ( IDENT_0 , IDENT_5 , ( ( IDENT_0 . length ) - IDENT_5 ) ) ; java . lang . String expected = STRING_0 + IDENT_5 ; "<AssertPlaceHolder>" ; } METHOD_1 ( byte [ ] ) { if ( IDENT_8 == null ) { return STRING_1 ; } return org . apache . camel . component . IDENT_1 . internal . IDENT_9 . METHOD_1 ( IDENT_8 , IDENT_8 . length ) ; }
org . junit . Assert . assertEquals ( expected , org . apache . camel . component . IDENT_1 . internal . IDENT_9 . METHOD_1 ( IDENT_4 . toByteArray ( ) ) )