METHOD_0 ( ) { com . IDENT_0 . security . IDENT_1 . IDENT_2 IDENT_3 = new com . IDENT_0 . security . IDENT_1 . METHOD_1 ( mock ( org . springframework . security . core . IDENT_4 . IDENT_5 . class ) , com . IDENT_0 . security . IDENT_1 . IDENT_6 . IDENT_7 , null ) ; org . mockito . Mockito . when ( IDENT_8 . METHOD_2 ( IDENT_9 ) ) . thenReturn ( IDENT_3 ) ; org . springframework . security . core . IDENT_10 authentication = filter . METHOD_3 ( IDENT_11 , null ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_8 ) . METHOD_2 ( IDENT_9 ) ; } METHOD_3 ( javax . servlet . http . IDENT_12 , javax . servlet . http . IDENT_13 ) { java . lang . String code = null ; if ( com . IDENT_0 . security . IDENT_1 . IDENT_14 . LOG . METHOD_4 ( ) ) { java . lang . String url = request . METHOD_5 ( ) ; java . lang . String IDENT_15 = request . METHOD_6 ( ) ; com . IDENT_0 . security . IDENT_1 . IDENT_14 . LOG . debug ( STRING_0 , url , IDENT_15 ) ; } final java . util . Map < java . lang . String , java . lang . String [ ] > parameters = request . METHOD_7 ( ) ; com . IDENT_0 . security . IDENT_1 . IDENT_14 . LOG . debug ( STRING_1 , parameters ) ; METHOD_8 ( parameters ) ; METHOD_9 ( request . METHOD_10 ( ) , parameters ) ; final java . lang . String [ ] IDENT_16 = parameters . get ( IDENT_17 . METHOD_11 ( ) ) ; if ( ( IDENT_16 != null ) && ( ( IDENT_16 . length ) > 0 ) ) { code = IDENT_16 [ 0 ] ; com . IDENT_0 . security . IDENT_1 . IDENT_14 . LOG . debug ( STRING_2 , code ) ; } com . IDENT_0 . security . IDENT_1 . METHOD_1 IDENT_18 = new com . IDENT_0 . security . IDENT_1 . METHOD_1 ( code ) ; METHOD_12 ( request , IDENT_18 ) ; return this . METHOD_13 ( ) . METHOD_2 ( IDENT_18 ) ; }
org . junit . Assert . assertEquals ( IDENT_3 , authentication )