METHOD_0 ( ) { org . mockito . Mockito . METHOD_1 ( new org . xml . IDENT_0 . METHOD_2 ( STRING_0 ) ) . when ( IDENT_1 ) . METHOD_3 ( any ( java . io . InputStream . class ) , null ) ; java . lang . String view = controller . METHOD_4 ( IDENT_2 , result ) ; "<AssertPlaceHolder>" ; verify ( result ) . METHOD_5 ( new org . springframework . validation . METHOD_6 ( STRING_1 , STRING_0 ) ) ; } METHOD_4 ( org . IDENT_3 . IDENT_4 . IDENT_5 . web . IDENT_6 . IDENT_7 , org . springframework . validation . IDENT_8 ) { try { IDENT_1 . METHOD_3 ( IDENT_9 . METHOD_7 ( ) . METHOD_8 ( ) , null ) ; return STRING_2 ; } catch ( org . xml . IDENT_0 . METHOD_2 e ) { result . METHOD_5 ( new org . springframework . validation . METHOD_6 ( STRING_1 , e . getMessage ( ) ) ) ; return STRING_3 ; } catch ( java . lang . Exception e ) { result . METHOD_5 ( new org . springframework . validation . METHOD_6 ( STRING_1 , STRING_0 ) ) ; return STRING_3 ; } }
org . junit . Assert . assertEquals ( STRING_3 , view )