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