METHOD_0 ( ) { java . lang . String id = STRING_0 ; org . wildfly . IDENT_0 . IDENT_1 . IDENT_2 < org . wildfly . IDENT_0 . IDENT_1 . IDENT_3 > IDENT_4 = mock ( org . wildfly . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; org . wildfly . IDENT_0 . IDENT_1 . IDENT_3 batch = mock ( org . wildfly . IDENT_0 . IDENT_1 . IDENT_3 . class ) ; org . wildfly . IDENT_0 . web . IDENT_5 . IDENT_6 < io . IDENT_7 . security . api . IDENT_8 . IDENT_9 , java . lang . String , java . lang . String , java . lang . IDENT_10 > IDENT_5 = mock ( org . wildfly . IDENT_0 . web . IDENT_5 . IDENT_6 . class ) ; when ( this . manager . METHOD_1 ( ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_4 . METHOD_2 ( ) ) . thenReturn ( batch ) ; when ( this . manager . METHOD_3 ( id ) ) . thenReturn ( IDENT_5 ) ; io . IDENT_7 . security . impl . IDENT_11 result = this . subject . METHOD_0 ( id ) ; "<AssertPlaceHolder>" ; verify ( IDENT_4 ) . METHOD_4 ( ) ; } METHOD_0 ( java . lang . String ) { try { java . util . IDENT_12 . METHOD_5 ( ) . decode ( id ) ; } catch ( java . lang . IllegalArgumentException e ) { return null ; } org . wildfly . IDENT_0 . IDENT_1 . IDENT_2 < org . wildfly . IDENT_0 . IDENT_1 . IDENT_3 > IDENT_4 = this . manager . METHOD_1 ( ) ; @ org . wildfly . IDENT_0 . web . IDENT_7 . IDENT_5 . METHOD_6 ( STRING_1 ) org . wildfly . IDENT_0 . IDENT_1 . IDENT_3 batch = IDENT_4 . METHOD_2 ( ) ; try { org . wildfly . IDENT_0 . web . IDENT_5 . IDENT_6 < io . IDENT_7 . security . api . IDENT_8 . IDENT_9 , java . lang . String , java . lang . String , java . lang . IDENT_10 > IDENT_5 = this . manager . METHOD_3 ( id ) ; if ( IDENT_5 == null ) { if ( org . wildfly . IDENT_0 . web . IDENT_7 . IDENT_5 . IDENT_13 . log . METHOD_7 ( ) ) { org . wildfly . IDENT_0 . web . IDENT_7 . IDENT_5 . IDENT_13 . log . METHOD_8 ( STRING_2 , id ) ; } batch . close ( ) ; return null ; } if ( org . wildfly . IDENT_0 . web . IDENT_7 . IDENT_5 . IDENT_13 . log . METHOD_7 ( ) ) { org . wildfly . IDENT_0 . web . IDENT_7 . IDENT_5 . IDENT_13 . log . METHOD_8 ( STRING_3 , id ) ; } return new org . wildfly . IDENT_0 . web . IDENT_7 . IDENT_5 . METHOD_9 ( IDENT_5 , this . registry , IDENT_4 , IDENT_4 . METHOD_4 ( ) ) ; } catch ( java . lang . RuntimeException | java . lang . IDENT_14 e ) { batch . METHOD_10 ( ) ; batch . close ( ) ; throw e ; } }
org . junit . Assert . assertNotNull ( result )