METHOD_0 ( ) { org . lnu . is . domain . user . User user = new org . lnu . is . domain . user . User ( ) ; org . lnu . is . dao . exception . IDENT_0 e = new org . lnu . is . dao . exception . METHOD_1 ( "" ) ; e . METHOD_2 ( user ) ; org . lnu . is . resource . message . IDENT_1 expected = new org . lnu . is . resource . message . METHOD_3 ( ) ; expected . METHOD_4 ( IDENT_2 . IDENT_3 ) ; expected . METHOD_5 ( e . getMessage ( ) ) ; org . lnu . is . resource . message . METHOD_3 actual = unit . METHOD_6 ( e ) ; verify ( IDENT_4 ) . METHOD_7 ( user ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( org . lnu . is . IDENT_5 . model . IDENT_6 ) { if ( ! ( IDENT_7 ) ) { return ; } org . springframework . util . Assert . METHOD_8 ( IDENT_8 , STRING_0 ) ; try { javax . mail . IDENT_9 . IDENT_10 message = IDENT_11 . METHOD_9 ( ) ; org . springframework . mail . IDENT_12 . IDENT_13 IDENT_14 = new org . springframework . mail . IDENT_12 . METHOD_10 ( message , true , org . lnu . is . IDENT_5 . IDENT_15 . IDENT_16 . IDENT_17 ) ; IDENT_14 . METHOD_11 ( IDENT_8 . METHOD_12 ( ) ) ; IDENT_14 . METHOD_13 ( METHOD_14 ( IDENT_8 . METHOD_15 ( ) ) ) ; IDENT_14 . METHOD_16 ( METHOD_14 ( IDENT_8 . METHOD_17 ( ) ) ) ; IDENT_14 . METHOD_18 ( IDENT_8 . METHOD_19 ( ) ) ; IDENT_14 . METHOD_20 ( IDENT_8 . METHOD_21 ( ) , IDENT_8 . METHOD_22 ( ) ) ; for ( org . lnu . is . IDENT_5 . model . IDENT_18 IDENT_19 : IDENT_8 . METHOD_23 ( ) ) { IDENT_14 . METHOD_24 ( IDENT_19 . METHOD_25 ( ) , new org . springframework . core . io . METHOD_26 ( org . apache . commons . io . IDENT_20 . toByteArray ( IDENT_19 . METHOD_27 ( ) ) ) ) ; } IDENT_11 . METHOD_7 ( message ) ; } catch ( java . lang . Exception e ) { throw new org . lnu . is . IDENT_5 . exception . METHOD_28 ( org . lnu . is . IDENT_5 . IDENT_15 . IDENT_16 . IDENT_21 , e ) ; } }
org . junit . Assert . assertEquals ( expected , actual )