METHOD_0 ( ) { final org . apache . IDENT_0 . client . IDENT_1 . IDENT_2 client = METHOD_1 ( ) ; client . start ( ) ; java . lang . String msg = STRING_0 ; when ( client . IDENT_3 . METHOD_2 ( client . IDENT_4 ) . METHOD_3 ( ) ) . thenReturn ( IDENT_5 . IDENT_6 ) . thenReturn ( IDENT_5 . IDENT_7 ) ; when ( client . IDENT_3 . METHOD_2 ( client . IDENT_4 ) . METHOD_4 ( ) ) . thenReturn ( msg ) ; try { client . METHOD_5 ( ) ; org . junit . Assert . fail ( ) ; } catch ( org . apache . IDENT_0 . IDENT_8 . api . IDENT_9 e ) { "<AssertPlaceHolder>" ; } client . METHOD_6 ( ) ; } getMessage ( ) { return message ; }
org . junit . Assert . assertTrue ( e . getMessage ( ) . contains ( msg ) )