METHOD_0 ( ) { when ( IDENT_0 . getMessage ( ) ) . thenReturn ( STRING_0 ) ; when ( session . METHOD_1 ( IDENT_1 . IDENT_2 ) ) . thenReturn ( IDENT_0 ) ; java . lang . String view = new de . IDENT_3 . IDENT_4 . web . IDENT_5 . METHOD_2 ( ) . METHOD_0 ( session , model ) ; "<AssertPlaceHolder>" ; verify ( model ) . METHOD_3 ( STRING_1 , STRING_0 ) ; } METHOD_0 ( javax . servlet . http . IDENT_6 , org . springframework . ui . IDENT_7 ) { org . springframework . security . core . IDENT_8 exception = ( ( org . springframework . security . core . IDENT_8 ) ( session . METHOD_1 ( IDENT_1 . IDENT_2 ) ) ) ; java . lang . String msg = getMessage ( exception ) ; if ( org . apache . commons . lang3 . StringUtils . METHOD_4 ( msg ) ) { model . METHOD_3 ( STRING_1 , msg ) ; } return STRING_2 ; }
org . junit . Assert . assertEquals ( STRING_2 , view )