METHOD_0 ( ) { org . IDENT_0 . platform . IDENT_1 . ui . model . IDENT_2 IDENT_3 = METHOD_1 ( org . IDENT_0 . platform . IDENT_1 . ui . controller . IDENT_4 . IDENT_5 , STRING_0 ) ; when ( IDENT_6 . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; org . mockito . Mockito . METHOD_3 ( new org . IDENT_0 . framework . exceptions . METHOD_4 ( STRING_1 ) ) . when ( IDENT_8 ) . METHOD_5 ( org . mockito . Matchers . < java . util . List < org . IDENT_0 . platform . IDENT_1 . service . IDENT_9 > > METHOD_6 ( ) ) ; java . lang . String result = IDENT_10 . METHOD_5 ( IDENT_3 , IDENT_6 ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_8 ) . METHOD_5 ( org . mockito . Matchers . < java . util . List < org . IDENT_0 . platform . IDENT_1 . service . IDENT_9 > > METHOD_6 ( ) ) ; org . mockito . Mockito . verify ( IDENT_6 ) . METHOD_2 ( ) ; org . mockito . Mockito . verify ( IDENT_7 ) . METHOD_7 ( METHOD_8 ( new org . IDENT_0 . platform . matchers . METHOD_9 ( STRING_1 ) ) ) ; } METHOD_5 ( org . IDENT_0 . platform . IDENT_1 . ui . model . IDENT_2 , org . springframework . IDENT_11 . IDENT_12 . IDENT_13 ) { java . lang . String result = STRING_2 ; try { IDENT_8 . METHOD_5 ( METHOD_10 ( IDENT_3 ) ) ; } catch ( org . IDENT_0 . framework . exceptions . METHOD_4 e ) { METHOD_11 ( IDENT_6 . METHOD_2 ( ) , e ) ; result = STRING_3 ; } return result ; }
org . junit . Assert . assertThat ( result , org . hamcrest . core . Is . is ( STRING_3 ) )