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