METHOD_0 ( ) { javax . security . auth . IDENT_0 . IDENT_1 context = new javax . security . auth . IDENT_0 . METHOD_1 ( STRING_0 , new javax . security . auth . IDENT_2 . METHOD_2 ( ) { @ org . apache . activemq . artemis . core . security . IDENT_3 . Override public void METHOD_3 ( javax . security . auth . IDENT_2 . IDENT_4 [ ] IDENT_5 ) throws java . io . IOException , javax . security . auth . IDENT_2 . IDENT_6 { for ( int i = 0 ; i < ( IDENT_5 . length ) ; i ++ ) { if ( ( IDENT_5 [ i ] ) instanceof javax . security . auth . IDENT_2 . IDENT_7 ) { ( ( javax . security . auth . IDENT_2 . IDENT_7 ) ( IDENT_5 [ i ] ) ) . setName ( STRING_1 ) ; } else if ( ( IDENT_5 [ i ] ) instanceof javax . security . auth . IDENT_2 . IDENT_8 ) { ( ( javax . security . auth . IDENT_2 . IDENT_8 ) ( IDENT_5 [ i ] ) ) . METHOD_4 ( STRING_2 . METHOD_5 ( ) ) ; } else { throw new javax . security . auth . IDENT_2 . METHOD_6 ( IDENT_5 [ i ] ) ; } } } } ) ; context . METHOD_7 ( ) ; javax . security . auth . IDENT_9 subject = context . METHOD_8 ( ) ; boolean IDENT_10 = false ; boolean IDENT_11 = false ; for ( java . security . IDENT_12 IDENT_13 : subject . METHOD_9 ( ) ) { if ( IDENT_13 instanceof org . apache . activemq . artemis . spi . core . security . IDENT_3 . IDENT_14 ) { org . apache . activemq . artemis . spi . core . security . IDENT_3 . IDENT_14 IDENT_15 = ( ( org . apache . activemq . artemis . spi . core . security . IDENT_3 . IDENT_14 ) ( IDENT_13 ) ) ; if ( IDENT_15 . getName ( ) . equalsIgnoreCase ( STRING_3 ) ) IDENT_10 = true ; if ( IDENT_15 . getName ( ) . equalsIgnoreCase ( STRING_4 ) ) IDENT_11 = true ; } } "<AssertPlaceHolder>" ; context . METHOD_10 ( ) ; } getName ( ) { return name ; }
org . junit . Assert . assertTrue ( ( IDENT_10 && IDENT_11 ) )