METHOD_0 ( ) { final org . baeldung . persistence . model . User user = METHOD_1 ( ) ; final java . lang . String token = java . util . UUID . METHOD_2 ( ) . toString ( ) ; IDENT_0 . METHOD_3 ( user , token ) ; user . getId ( ) ; final org . baeldung . persistence . model . IDENT_1 IDENT_2 = IDENT_0 . METHOD_4 ( token ) ; IDENT_2 . METHOD_5 ( java . util . Date . from ( IDENT_2 . METHOD_6 ( ) . METHOD_7 ( ) . METHOD_8 ( 2 , IDENT_3 . IDENT_4 ) ) ) ; IDENT_5 . METHOD_9 ( IDENT_2 ) ; final java . lang . String IDENT_6 = IDENT_0 . METHOD_10 ( token ) ; "<AssertPlaceHolder>" ; IDENT_6 . equals ( IDENT_7 . IDENT_8 ) ; } METHOD_10 ( java . lang . String ) { final org . baeldung . persistence . model . IDENT_1 IDENT_2 = IDENT_5 . METHOD_11 ( token ) ; if ( IDENT_2 == null ) { return org . baeldung . service . IDENT_7 . IDENT_9 ; } final org . baeldung . persistence . model . User user = IDENT_2 . METHOD_12 ( ) ; final java . util . Calendar IDENT_10 = java . util . Calendar . getInstance ( ) ; if ( ( ( IDENT_2 . METHOD_6 ( ) . getTime ( ) ) - ( IDENT_10 . getTime ( ) . getTime ( ) ) ) <= 0 ) { IDENT_5 . delete ( IDENT_2 ) ; return org . baeldung . service . IDENT_7 . IDENT_8 ; } user . METHOD_13 ( true ) ; IDENT_11 . save ( user ) ; return org . baeldung . service . IDENT_7 . IDENT_12 ; }
org . junit . Assert . assertNotNull ( IDENT_6 )