METHOD_0 ( ) { org . wildfly . IDENT_0 . IDENT_1 . IDENT_2 context = mock ( org . wildfly . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; io . IDENT_3 . security . IDENT_4 . IDENT_5 IDENT_6 = mock ( io . IDENT_3 . security . IDENT_4 . IDENT_5 . class ) ; java . lang . String IDENT_7 = javax . servlet . http . IDENT_8 . IDENT_9 ; io . IDENT_3 . security . api . IDENT_10 . IDENT_11 authentication = new io . IDENT_3 . security . api . IDENT_10 . METHOD_1 ( IDENT_6 , IDENT_7 ) ; when ( this . IDENT_12 . METHOD_2 ( this . batch ) ) . thenReturn ( context ) ; when ( this . IDENT_13 . METHOD_3 ( ) ) . thenReturn ( authentication ) ; io . IDENT_3 . security . IDENT_4 . IDENT_5 result = this . subject . METHOD_0 ( ) ; "<AssertPlaceHolder>" ; METHOD_4 ( this . batch ) ; verify ( context ) . close ( ) ; } METHOD_0 ( ) { try ( org . wildfly . IDENT_0 . IDENT_1 . IDENT_2 context = this . IDENT_12 . METHOD_2 ( this . batch ) ) { return this . IDENT_13 . METHOD_3 ( ) . METHOD_0 ( ) ; } }
org . junit . Assert . assertSame ( IDENT_6 , result )