METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . model . User IDENT_2 = new com . IDENT_0 . IDENT_1 . model . User ( com . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_4 , com . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_5 , com . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_6 , com . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_7 ) ; when ( IDENT_8 . METHOD_1 ( com . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_4 , com . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_9 , date ) ) . thenReturn ( com . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_10 ) ; when ( IDENT_11 . METHOD_2 ( com . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_4 ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_11 . save ( IDENT_2 ) ) . thenReturn ( IDENT_2 ) ; com . IDENT_0 . IDENT_1 . model . User IDENT_12 = IDENT_13 . METHOD_3 ( com . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_4 , com . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_9 ) ; verify ( IDENT_11 ) . save ( IDENT_2 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { return token ; }
org . junit . Assert . assertEquals ( com . IDENT_0 . IDENT_1 . service . IDENT_3 . IDENT_10 , IDENT_12 . METHOD_4 ( ) )