METHOD_0 ( ) { org . apache . IDENT_0 . jms . provider . IDENT_1 . message . IDENT_2 message = METHOD_1 ( ) ; org . apache . IDENT_0 . jms . provider . IDENT_1 . message . IDENT_3 . setProperty ( message , STRING_0 , STRING_1 ) ; org . mockito . Mockito . METHOD_2 ( new javax . jms . METHOD_3 ( STRING_2 ) ) . when ( message ) . METHOD_4 ( org . mockito . Mockito . anyString ( ) , org . mockito . Mockito . anyString ( ) ) ; try { org . apache . IDENT_0 . jms . provider . IDENT_1 . message . IDENT_3 . setProperty ( message , STRING_0 , STRING_1 ) ; org . junit . Assert . fail ( STRING_3 ) ; } catch ( javax . jms . METHOD_3 ex ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { return message ; }
org . junit . Assert . assertEquals ( STRING_2 , ex . getMessage ( ) )