METHOD_0 ( ) { json . put ( STRING_0 , STRING_1 ) ; json . put ( STRING_2 , STRING_3 0 ) ; com . IDENT_0 . models . entities . user . User IDENT_1 = new com . IDENT_0 . models . entities . user . User ( INT_0 , STRING_1 , STRING_3 0 , true , true ) ; com . IDENT_0 . models . entities . user . IDENT_2 IDENT_3 = new com . IDENT_0 . models . entities . user . METHOD_1 ( INT_0 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , new java . util . Date ( ) , STRING_8 , STRING_9 ) ; when ( IDENT_4 . METHOD_2 ( STRING_1 , STRING_3 0 ) ) . thenReturn ( true ) ; when ( IDENT_4 . METHOD_3 ( STRING_1 ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_5 . METHOD_4 ( IDENT_1 . getId ( ) ) ) . thenReturn ( IDENT_3 ) ; when ( IDENT_6 . METHOD_5 ( IDENT_1 . getId ( ) ) ) . thenReturn ( STRING_3 ) ; org . springframework . test . web . servlet . IDENT_7 result = IDENT_8 . METHOD_6 ( org . springframework . test . web . servlet . request . IDENT_9 . METHOD_7 ( uri ) . content ( json . toString ( ) ) . METHOD_8 ( IDENT_10 . IDENT_11 ) ) . andReturn ( ) ; int status = result . METHOD_9 ( ) . getStatus ( ) ; verify ( IDENT_4 , times ( 1 ) ) . METHOD_3 ( STRING_1 ) ; verify ( IDENT_4 , times ( 1 ) ) . METHOD_2 ( STRING_1 , STRING_3 0 ) ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_4 ( IDENT_1 . getId ( ) ) ; verify ( IDENT_6 , times ( 1 ) ) . METHOD_5 ( IDENT_1 . getId ( ) ) ; "<AssertPlaceHolder>" ; } getId ( ) { return id ; }
org . junit . Assert . assertEquals ( STRING_3 1 , 200 , status )