METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; org . IDENT_2 . platform . IDENT_3 . ui . model . IDENT_4 IDENT_5 = METHOD_2 ( org . IDENT_2 . platform . IDENT_3 . ui . controller . IDENT_6 . IDENT_7 , STRING_0 ) ; java . lang . String result = IDENT_8 . METHOD_3 ( IDENT_5 , IDENT_0 , true ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 ) . METHOD_1 ( ) ; verify ( IDENT_1 ) . METHOD_4 ( METHOD_5 ( new org . IDENT_2 . platform . matchers . METHOD_6 ( STRING_1 ) ) ) ; } METHOD_3 ( org . IDENT_2 . platform . IDENT_3 . ui . model . IDENT_4 , org . springframework . IDENT_9 . IDENT_10 . IDENT_11 , boolean ) { java . lang . String result = STRING_2 ; if ( ! ( METHOD_7 ( IDENT_5 , IDENT_0 ) ) ) { org . IDENT_2 . platform . IDENT_3 . service . IDENT_12 IDENT_13 = null ; try { if ( IDENT_14 ) { IDENT_5 . METHOD_8 ( true ) ; } if ( IDENT_5 . METHOD_9 ( ) ) { IDENT_13 = IDENT_15 . METHOD_10 ( IDENT_5 . METHOD_11 ( ) ) ; } else { IDENT_13 = IDENT_15 . METHOD_12 ( IDENT_5 . METHOD_11 ( ) ) ; } if ( ( METHOD_13 ( IDENT_5 . METHOD_14 ( ) ) ) && ( IDENT_5 . METHOD_15 ( ) ) ) { IDENT_15 . METHOD_16 ( IDENT_13 . getId ( ) ) ; } java . util . List < org . IDENT_2 . platform . IDENT_3 . service . IDENT_16 > IDENT_17 = METHOD_17 ( IDENT_5 . METHOD_18 ( ) , IDENT_13 ) ; java . util . List < org . IDENT_2 . platform . IDENT_3 . service . IDENT_18 > IDENT_19 = METHOD_19 ( IDENT_5 . METHOD_20 ( ) , IDENT_13 ) ; IDENT_15 . METHOD_21 ( IDENT_17 ) ; IDENT_15 . METHOD_22 ( IDENT_19 ) ; } catch ( org . springframework . security . IDENT_20 . IDENT_21 e ) { METHOD_23 ( IDENT_0 . METHOD_1 ( ) , new org . IDENT_2 . framework . exceptions . METHOD_24 ( org . IDENT_2 . platform . IDENT_3 . IDENT_22 . IDENT_23 , e ) ) ; result = STRING_3 ; } catch ( org . IDENT_2 . framework . exceptions . METHOD_24 e ) { METHOD_23 ( IDENT_0 . METHOD_1 ( ) , e ) ; result = STRING_3 ; } } else { result = STRING_3 ; } return result ; }
org . junit . Assert . assertThat ( result , org . hamcrest . core . Is . is ( STRING_3 ) )