METHOD_0 ( ) { when ( IDENT_0 . save ( IDENT_1 ) ) . thenReturn ( IDENT_1 ) ; edu . IDENT_2 . IDENT_3 . core . entities . User user = IDENT_4 . METHOD_1 ( IDENT_1 , IDENT_5 . IDENT_6 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , times ( 1 ) ) . save ( IDENT_1 ) ; } METHOD_1 ( edu . IDENT_2 . IDENT_3 . core . entities . User , edu . IDENT_2 . IDENT_3 . core . services . IDENT_5 [ ] ) { if ( ( ( METHOD_2 ( user . METHOD_3 ( ) ) ) != null ) || ( java . util . Arrays . asList ( IDENT_7 ) . contains ( user . METHOD_3 ( ) ) ) ) { throw new org . hibernate . exception . METHOD_4 ( STRING_0 , null , null ) ; } java . util . Arrays . asList ( IDENT_8 ) . METHOD_5 ( ( r ) -> { user . METHOD_6 ( new edu . IDENT_2 . IDENT_3 . core . entities . METHOD_7 ( user , r ) ) ; } ) ; user . METHOD_8 ( new edu . IDENT_2 . IDENT_3 . core . entities . METHOD_9 ( user , edu . IDENT_2 . IDENT_3 . core . IDENT_9 . IDENT_10 . IDENT_11 , new java . util . Date ( ) ) ) ; user . METHOD_10 ( IDENT_12 . encode ( user . METHOD_11 ( ) ) ) ; return IDENT_0 . save ( user ) ; }
org . junit . Assert . assertEquals ( IDENT_1 , user )