METHOD_0 ( ) { final org . jboss . IDENT_0 . security . shared . api . IDENT_1 . User expected = new org . jboss . IDENT_0 . security . shared . api . IDENT_1 . METHOD_1 ( STRING_0 ) ; when ( IDENT_2 . METHOD_2 ( ) ) . thenReturn ( null ) ; when ( IDENT_3 . call ( any ( org . jboss . IDENT_0 . common . client . api . IDENT_4 . class ) , any ( org . jboss . IDENT_0 . common . client . api . IDENT_5 . class ) ) ) . METHOD_3 ( new org . jboss . IDENT_0 . IDENT_6 . test . IDENT_7 . METHOD_4 ( expected ) ) ; IDENT_8 . invoke ( IDENT_9 ) ; IDENT_10 . invoke ( IDENT_11 ) ; verify ( IDENT_3 ) . call ( any ( org . jboss . IDENT_0 . common . client . api . IDENT_4 . class ) , any ( org . jboss . IDENT_0 . common . client . api . IDENT_5 . class ) ) ; verify ( IDENT_2 ) . METHOD_5 ( expected ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { return user ; }
org . junit . Assert . assertEquals ( expected , IDENT_9 . METHOD_2 ( ) )