METHOD_0 ( ) { ch . IDENT_0 . IDENT_1 . core . pattern . IDENT_2 < ch . IDENT_0 . IDENT_1 . IDENT_3 . spi . IDENT_4 > converter = new ch . IDENT_0 . IDENT_1 . IDENT_3 . pattern . METHOD_1 ( ) ; this . IDENT_5 . METHOD_2 ( ) ; this . IDENT_5 . add ( STRING_0 ) ; converter . METHOD_3 ( this . IDENT_5 ) ; converter . start ( ) ; ch . IDENT_0 . IDENT_1 . IDENT_3 . spi . IDENT_4 event = METHOD_4 ( null ) ; java . lang . StringBuilder buf = new java . lang . StringBuilder ( ) ; converter . write ( buf , event ) ; java . lang . String expected = ( STRING_1 + ( ( ch . IDENT_0 . IDENT_1 . core . net . IDENT_6 . IDENT_7 ) + ( ch . IDENT_0 . IDENT_1 . core . net . IDENT_6 . IDENT_8 ) ) ) + STRING_2 ; "<AssertPlaceHolder>" ; } toString ( ) { java . lang . String result = ( STRING_3 + STRING_4 ) + ( type ) ; if ( ( payload ) != null ) result += ( STRING_5 + ( payload ) ) + STRING_6 ; result += STRING_7 ; return result ; }
org . junit . Assert . assertTrue ( buf . toString ( ) . startsWith ( expected ) )