METHOD_0 ( ) { doReturn ( METHOD_1 ( STRING_0 , STRING_1 , STRING_2 ) ) . when ( client ) . METHOD_2 ( any ( ) , any ( ) ) ; writer . METHOD_3 ( "test" ) ; try { writer . write ( record ) ; writer . close ( ) ; org . junit . Assert . fail ( STRING_3 ) ; } catch ( java . lang . Exception e ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { return METHOD_4 ( ) ; }
org . junit . Assert . assertTrue ( e . getMessage ( ) . contains ( STRING_1 ) )