METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . User expected = new com . IDENT_0 . IDENT_1 . User ( 0L , com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 , STRING_0 , new java . util . Date ( ) ) ; when ( IDENT_5 . METHOD_1 ( anyString ( ) , ( ( org . springframework . jdbc . core . IDENT_6 ) ( METHOD_2 ( ) ) ) , eq ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 ) ) ) . thenReturn ( expected ) ; com . IDENT_0 . IDENT_1 . User result = instance . METHOD_3 ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String ) { com . IDENT_0 . IDENT_1 . User user ; try { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_7 IDENT_8 = new com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_4 ( ) ; user = IDENT_5 . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_9 . IDENT_10 , IDENT_8 , name ) ; } catch ( org . springframework . dao . IDENT_11 e ) { user = com . IDENT_0 . IDENT_1 . User . IDENT_12 ; } return user ; }
org . junit . Assert . assertEquals ( expected , result )