METHOD_0 ( ) { org . springframework . test . web . servlet . request . IDENT_0 IDENT_1 = get ( STRING_0 ) ; org . springframework . test . web . servlet . IDENT_2 IDENT_3 = IDENT_4 . METHOD_1 ( IDENT_1 ) . METHOD_2 ( status ( ) . METHOD_3 ( ) ) . andReturn ( ) ; org . springframework . mock . web . IDENT_5 session = ( ( org . springframework . mock . web . IDENT_5 ) ( IDENT_3 . METHOD_4 ( ) . METHOD_5 ( ) ) ) ; java . lang . String IDENT_6 = IDENT_3 . METHOD_6 ( ) . METHOD_7 ( ) ; com . baeldung . IDENT_7 . User user = METHOD_8 ( ) ; IDENT_4 . METHOD_1 ( METHOD_9 ( IDENT_6 ) . param ( STRING_1 , user . METHOD_10 ( ) ) . param ( STRING_2 , user . METHOD_11 ( ) ) . param ( STRING_3 , user . METHOD_12 ( ) ) . session ( session ) . with ( METHOD_13 ( ) ) ) . METHOD_2 ( status ( ) . METHOD_3 ( ) ) . METHOD_2 ( METHOD_14 ( STRING_4 ) ) . andReturn ( ) ; IDENT_4 . METHOD_1 ( IDENT_1 . session ( session ) ) . METHOD_2 ( status ( ) . METHOD_15 ( ) ) ; org . springframework . security . core . context . IDENT_8 IDENT_9 = ( ( org . springframework . security . core . context . IDENT_8 ) ( session . METHOD_16 ( IDENT_10 . IDENT_11 ) ) ) ; org . springframework . security . core . IDENT_12 auth = IDENT_9 . METHOD_17 ( ) ; "<AssertPlaceHolder>" ; } METHOD_18 ( ) { return IDENT_13 ; }
org . junit . Assert . assertEquals ( ( ( com . baeldung . IDENT_7 . User ) ( auth . METHOD_18 ( ) ) ) . METHOD_12 ( ) , user . METHOD_12 ( ) )