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