METHOD_0 ( ) { org . hibernate . exception . IDENT_0 IDENT_1 = new org . hibernate . exception . METHOD_1 ( STRING_0 , org . mockito . Mockito . mock ( java . sql . IDENT_2 . class ) , STRING_1 ) ; javax . persistence . IDENT_3 exception = new javax . persistence . METHOD_2 ( "" , IDENT_1 ) ; org . lnu . is . resource . message . IDENT_4 expected = new org . lnu . is . resource . message . METHOD_3 ( ) ; expected . METHOD_4 ( IDENT_5 . IDENT_6 ) ; expected . METHOD_5 ( java . text . IDENT_7 . format ( STRING_2 , IDENT_1 . METHOD_6 ( ) ) ) ; org . lnu . is . resource . message . METHOD_3 actual = handler . METHOD_7 ( exception ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( org . lnu . is . dao . exception . IDENT_8 ) { org . lnu . is . web . rest . handler . IDENT_9 . IDENT_10 . LOG . error ( STRING_3 , e ) ; IDENT_11 . METHOD_8 ( e . METHOD_9 ( ) ) ; org . lnu . is . resource . message . METHOD_3 message = new org . lnu . is . resource . message . METHOD_3 ( ) ; message . METHOD_4 ( IDENT_5 . IDENT_6 ) ; message . METHOD_5 ( e . getMessage ( ) ) ; return message ; }
org . junit . Assert . assertEquals ( expected , actual )