METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 engine = METHOD_1 ( ) ; com . IDENT_0 . IDENT_1 . IDENT_3 error = new com . IDENT_0 . IDENT_1 . METHOD_2 ( "foo" ) ; final java . lang . StringBuffer sb = new java . lang . StringBuffer ( ) ; com . IDENT_0 . IDENT_1 . IDENT_4 listener = new com . IDENT_0 . IDENT_1 . METHOD_3 ( ) { public void METHOD_4 ( com . IDENT_0 . IDENT_1 . METHOD_2 error ) { sb . append ( error . getMessage ( ) ) ; } } ; engine . METHOD_5 ( listener ) ; engine . METHOD_6 ( error ) ; "<AssertPlaceHolder>" ; } toString ( ) { return ( ( ( ( ( ( ( ( ( ( STRING_0 + STRING_1 ) + ( IDENT_5 ) ) + STRING_2 ) + ( IDENT_6 ) ) + STRING_3 ) + ( IDENT_7 ) ) + STRING_4 ) + ( IDENT_8 ) ) + STRING_5 ) + ( IDENT_9 ) ) + STRING_6 ; }
org . junit . Assert . assertEquals ( "foo" , sb . toString ( ) )