METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . security . web . logging . IDENT_2 IDENT_3 = new org . IDENT_0 . IDENT_1 . security . web . logging . METHOD_1 ( ) ; java . lang . String IDENT_4 = STRING_0 ; IDENT_5 = mock ( org . springframework . security . core . context . IDENT_6 . class ) ; authentication = mock ( org . springframework . security . core . IDENT_7 . class ) ; user = new org . springframework . security . core . IDENT_8 . User ( IDENT_4 , STRING_1 , java . util . Arrays . asList ( new org . springframework . security . core . IDENT_9 . METHOD_2 ( STRING_2 ) ) ) ; when ( authentication . METHOD_3 ( ) ) . thenReturn ( user ) ; when ( IDENT_5 . METHOD_4 ( ) ) . thenReturn ( authentication ) ; org . springframework . security . core . context . IDENT_10 . METHOD_5 ( IDENT_5 ) ; java . lang . String IDENT_11 = IDENT_3 . METHOD_6 ( request , response ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( javax . servlet . http . IDENT_12 , javax . servlet . http . IDENT_13 ) { org . springframework . security . core . IDENT_7 authentication = org . springframework . security . core . context . IDENT_10 . METHOD_7 ( ) . METHOD_4 ( ) ; if ( authentication != null ) { java . lang . Object IDENT_14 = authentication . METHOD_3 ( ) ; if ( IDENT_14 instanceof org . springframework . security . core . IDENT_8 . IDENT_15 ) { return ( ( org . springframework . security . core . IDENT_8 . IDENT_15 ) ( IDENT_14 ) ) . METHOD_8 ( ) ; } return IDENT_14 . toString ( ) ; } return null ; }
org . junit . Assert . assertThat ( IDENT_11 , org . hamcrest . CoreMatchers . is ( IDENT_4 ) )