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