METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; org . IDENT_2 . backend . server . security . IDENT_3 . get ( ) . METHOD_1 ( STRING_2 ) ; java . util . Set < java . security . IDENT_4 > IDENT_5 = METHOD_2 ( STRING_2 ) ; javax . security . auth . IDENT_6 subject = new javax . security . auth . METHOD_3 ( ) ; subject . METHOD_4 ( ) . addAll ( IDENT_5 ) ; javax . security . auth . IDENT_7 . IDENT_8 IDENT_9 = mock ( javax . security . auth . IDENT_7 . IDENT_8 . class ) ; when ( IDENT_9 . METHOD_5 ( ) ) . thenReturn ( subject ) ; doReturn ( IDENT_9 ) . when ( IDENT_10 ) . METHOD_6 ( anyString ( ) , anyString ( ) ) ; org . jboss . IDENT_11 . security . shared . api . IDENT_12 . User user = IDENT_10 . METHOD_7 ( IDENT_0 , IDENT_1 ) ; org . jboss . IDENT_11 . security . shared . api . IDENT_12 . User IDENT_13 = IDENT_10 . METHOD_8 ( ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { return IDENT_14 ; }
org . junit . Assert . assertEquals ( user , IDENT_13 )