METHOD_0 ( ) { IDENT_0 . METHOD_1 ( STRING_0 ) ; com . IDENT_1 . IDENT_2 . job . IDENT_3 . IDENT_4 . entity . User user = METHOD_2 ( STRING_1 , STRING_2 ) ; when ( IDENT_5 . select ( STRING_1 ) ) . thenReturn ( user ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String , java . lang . String ) { if ( org . springframework . util . StringUtils . isEmpty ( IDENT_6 ) ) { throw new com . IDENT_1 . IDENT_2 . job . IDENT_3 . exception . METHOD_4 ( com . IDENT_1 . IDENT_2 . job . IDENT_3 . exception . METHOD_4 . IDENT_7 , "" ) ; } com . IDENT_1 . IDENT_2 . job . IDENT_3 . IDENT_4 . entity . User user = IDENT_5 . select ( IDENT_8 ) ; if ( user == null ) { throw new com . IDENT_1 . IDENT_2 . job . IDENT_3 . exception . METHOD_4 ( com . IDENT_1 . IDENT_2 . job . IDENT_3 . exception . METHOD_4 . IDENT_7 , "" ) ; } com . IDENT_1 . IDENT_2 . job . IDENT_3 . utils . IDENT_9 . validate ( IDENT_6 , user . METHOD_5 ( ) , IDENT_10 ) ; return user ; }
org . junit . Assert . assertEquals ( user , IDENT_0 . METHOD_3 ( STRING_1 , STRING_2 ) )