METHOD_0 ( ) { final org . jboss . IDENT_0 . IDENT_1 IDENT_2 = new org . jboss . IDENT_0 . METHOD_1 ( new org . jboss . IDENT_0 . IDENT_3 [ ] { new org . jboss . IDENT_0 . METHOD_2 ( ) { public org . jboss . IDENT_0 . IDENT_4 METHOD_3 ( final java . lang . String name , final org . jboss . IDENT_0 . METHOD_1 IDENT_5 ) throws org . jboss . IDENT_0 . IDENT_6 { if ( name . equals ( "test" ) ) { final java . security . IDENT_7 IDENT_8 = new java . security . METHOD_4 ( ) ; IDENT_8 . add ( new java . security . METHOD_5 ( ) ) ; return org . jboss . IDENT_0 . IDENT_4 . build ( "test" ) . METHOD_6 ( IDENT_8 ) . create ( ) ; } else { return null ; } } } } ) ; final org . jboss . IDENT_0 . security . IDENT_9 factory = new org . jboss . IDENT_0 . security . METHOD_7 ( IDENT_2 , "test" , org . jboss . IDENT_0 . IDENT_10 . class . getName ( ) , "foo" , STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( ) { return IDENT_11 ; }
org . junit . Assert . assertEquals ( new java . lang . METHOD_9 ( "foo" , STRING_0 ) , factory . METHOD_8 ( ) )