METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . server . dao . domain . User user = mock ( com . IDENT_0 . IDENT_1 . server . dao . domain . User . class ) ; METHOD_1 ( user . getId ( ) ) . METHOD_2 ( com . IDENT_0 . IDENT_1 . server . authentication . IDENT_2 . IDENT_3 ) ; METHOD_1 ( IDENT_4 . METHOD_3 ( com . IDENT_0 . IDENT_1 . server . authentication . IDENT_2 . IDENT_5 ) ) . METHOD_2 ( user ) ; METHOD_1 ( IDENT_6 . METHOD_4 ( anyString ( ) , anyString ( ) ) ) . METHOD_2 ( true ) ; com . IDENT_0 . IDENT_1 . shared . dto . IDENT_7 IDENT_8 = IDENT_9 . METHOD_5 ( com . IDENT_0 . IDENT_1 . server . authentication . IDENT_2 . IDENT_5 , com . IDENT_0 . IDENT_1 . server . authentication . IDENT_2 . IDENT_10 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_11 ) . METHOD_6 ( com . IDENT_0 . IDENT_1 . server . authentication . IDENT_12 . METHOD_7 ( ) , com . IDENT_0 . IDENT_1 . server . authentication . IDENT_2 . IDENT_3 ) ; } METHOD_5 ( java . lang . String , java . lang . String ) { try { com . IDENT_0 . IDENT_1 . server . dao . domain . User user = IDENT_4 . METHOD_3 ( IDENT_13 ) ; if ( IDENT_6 . METHOD_4 ( IDENT_14 , user . METHOD_8 ( ) ) ) { com . IDENT_0 . IDENT_1 . shared . dto . IDENT_7 IDENT_15 = com . IDENT_0 . IDENT_1 . server . dao . domain . User . METHOD_9 ( user ) ; METHOD_10 ( IDENT_15 ) ; return IDENT_15 ; } else { throw new com . IDENT_0 . IDENT_1 . server . authentication . METHOD_11 ( ) ; } } catch ( java . lang . Exception e ) { throw new com . IDENT_0 . IDENT_1 . server . authentication . METHOD_11 ( ) ; } }
org . junit . Assert . assertNotNull ( IDENT_8 )