METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; org . IDENT_2 . platform . IDENT_3 . ui . model . IDENT_4 IDENT_5 = new org . IDENT_2 . platform . IDENT_3 . ui . model . METHOD_2 ( ) ; IDENT_5 . METHOD_3 ( IDENT_6 . IDENT_7 ) ; java . lang . String result = controller . METHOD_4 ( IDENT_5 , IDENT_0 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 ) . METHOD_1 ( ) ; verify ( IDENT_1 ) . METHOD_5 ( METHOD_6 ( new org . IDENT_2 . platform . matchers . METHOD_7 ( STRING_0 ) ) ) ; } METHOD_4 ( org . IDENT_2 . platform . IDENT_3 . ui . model . METHOD_2 , org . springframework . IDENT_8 . IDENT_9 . IDENT_10 ) { java . lang . String result = STRING_1 ; if ( METHOD_8 ( IDENT_11 . METHOD_9 ( ) ) ) { METHOD_10 ( IDENT_0 . METHOD_1 ( ) , STRING_0 , STRING_2 , STRING_3 ) ; result = STRING_4 ; } else { try { IDENT_12 . METHOD_11 ( IDENT_11 . METHOD_9 ( ) ) ; } catch ( org . IDENT_2 . platform . IDENT_13 . IDENT_14 e ) { METHOD_12 ( e , IDENT_0 ) ; result = STRING_4 ; } catch ( org . IDENT_2 . framework . exceptions . IDENT_15 e ) { METHOD_10 ( IDENT_0 . METHOD_1 ( ) , e . getKey ( ) , STRING_2 , e . getKey ( ) ) ; result = STRING_4 ; } catch ( java . lang . Exception e ) { METHOD_13 ( IDENT_0 . METHOD_1 ( ) , new org . IDENT_2 . framework . exceptions . METHOD_14 ( e . getMessage ( ) , e ) ) ; result = STRING_4 ; } } return result ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( STRING_4 ) )