METHOD_0 ( ) { java . util . HashMap < java . lang . String , java . util . Collection < org . springframework . security . IDENT_0 . IDENT_1 > > IDENT_2 = new java . util . HashMap < java . lang . String , java . util . Collection < org . springframework . security . IDENT_0 . IDENT_1 > > ( ) ; java . util . List < org . springframework . security . IDENT_0 . IDENT_1 > IDENT_3 = new java . util . ArrayList < org . springframework . security . IDENT_0 . IDENT_1 > ( ) ; IDENT_3 . add ( new org . springframework . security . IDENT_0 . METHOD_1 ( STRING_0 ) ) ; IDENT_2 . put ( "foo" , IDENT_3 ) ; this . source = new org . springframework . IDENT_4 . IDENT_5 . METHOD_2 ( new java . util . IDENT_6 < org . springframework . security . web . util . IDENT_7 , java . util . Collection < org . springframework . security . IDENT_0 . IDENT_1 > > ( ) , IDENT_2 ) ; when ( this . IDENT_8 . getId ( ) ) . thenReturn ( "foo" ) ; java . util . Collection < org . springframework . security . IDENT_0 . IDENT_1 > IDENT_9 = this . source . METHOD_3 ( this . IDENT_8 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . Object ) { if ( ( object == null ) || ( ! ( this . METHOD_4 ( object . getClass ( ) ) ) ) ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } IDENT_4 . IDENT_10 . IDENT_11 . IDENT_12 IDENT_13 = ( ( IDENT_4 . IDENT_10 . IDENT_11 . IDENT_12 ) ( object ) ) ; java . util . Collection < org . springframework . security . IDENT_0 . IDENT_1 > attributes = null ; if ( this . IDENT_2 . containsKey ( IDENT_13 . getId ( ) ) ) { attributes = this . IDENT_2 . get ( IDENT_13 . getId ( ) ) ; } else { final javax . servlet . http . IDENT_14 request = IDENT_4 . IDENT_10 . IDENT_15 . METHOD_5 ( ) ; if ( request != null ) { for ( Map . Entry < org . springframework . security . web . util . IDENT_7 , java . util . Collection < org . springframework . security . IDENT_0 . IDENT_1 > > entry : IDENT_16 . entrySet ( ) ) { if ( entry . getKey ( ) . matches ( request ) ) { return entry . getValue ( ) ; } } } } return attributes ; }
org . junit . Assert . assertTrue ( ( ( IDENT_9 . size ( ) ) > 0 ) )