METHOD_0 ( ) { javax . jms . IDENT_0 message = org . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_1 ( source , new javax . mail . IDENT_4 [ ] { new javax . mail . IDENT_5 . METHOD_2 ( STRING_0 ) } ) ; java . lang . Exception exception = new javax . mail . METHOD_3 ( ) ; when ( IDENT_6 . METHOD_4 ( eq ( STRING_1 ) ) ) . METHOD_5 ( exception ) ; IDENT_7 . METHOD_6 ( message ) ; verify ( message , METHOD_7 ( ) ) . METHOD_8 ( ) ; org . mockito . IDENT_8 < java . lang . Exception > IDENT_9 = org . mockito . IDENT_8 . METHOD_9 ( org . IDENT_1 . IDENT_2 . Exception . class ) ; verify ( IDENT_10 , METHOD_7 ( ) ) . METHOD_10 ( any ( javax . mail . IDENT_5 . IDENT_11 . class ) , any ( javax . mail . IDENT_4 [ ] . class ) ) ; verify ( IDENT_10 , times ( 1 ) ) . METHOD_11 ( any ( javax . mail . IDENT_5 . IDENT_11 . class ) , any ( javax . mail . IDENT_4 [ ] . class ) , IDENT_9 . METHOD_12 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( javax . mail . IDENT_5 . IDENT_11 , javax . mail . IDENT_4 [ ] , java . lang . Exception ) { org . IDENT_1 . IDENT_2 . IDENT_12 IDENT_13 = new org . IDENT_1 . IDENT_2 . METHOD_13 ( IDENT_14 , IDENT_15 , ex ) ; IDENT_16 . METHOD_14 ( ) ; IDENT_17 = IDENT_13 ; METHOD_15 ( IDENT_13 ) ; }
org . junit . Assert . assertEquals ( exception , IDENT_9 . getValue ( ) )