METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( "" ) ) . thenReturn ( User . IDENT_1 ) ; com . IDENT_2 . IDENT_3 . User result = instance . METHOD_1 ( "" ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { com . IDENT_2 . IDENT_3 . User user ; try { com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = new com . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_2 ( ) ; user = IDENT_7 . METHOD_3 ( com . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_8 . IDENT_9 , IDENT_6 , name ) ; } catch ( org . springframework . dao . IDENT_10 e ) { user = com . IDENT_2 . IDENT_3 . User . IDENT_1 ; } return user ; }
org . junit . Assert . assertEquals ( User . IDENT_1 , result )