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 , STRING_1 ) ; IDENT_3 . METHOD_2 ( validator ) ; IDENT_3 . METHOD_3 ( ) . METHOD_4 ( org . IDENT_0 . platform . IDENT_1 . ui . controller . IDENT_4 . IDENT_5 ) ; IDENT_3 . METHOD_3 ( ) . METHOD_5 ( STRING_2 ) ; IDENT_3 . METHOD_3 ( ) . METHOD_6 ( STRING_3 ) ; IDENT_3 . METHOD_3 ( ) . METHOD_7 ( ) ; when ( IDENT_6 . METHOD_8 ( ) ) . thenReturn ( IDENT_7 ) ; java . lang . String result = IDENT_8 . METHOD_9 ( IDENT_3 , IDENT_6 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_6 , times ( 1 ) ) . METHOD_8 ( ) ; verify ( IDENT_7 ) . METHOD_10 ( METHOD_11 ( new org . IDENT_0 . platform . matchers . METHOD_12 ( STRING_4 ) ) ) ; } METHOD_9 ( org . IDENT_0 . platform . IDENT_1 . ui . model . IDENT_2 , org . springframework . IDENT_9 . IDENT_10 . IDENT_11 ) { org . springframework . binding . message . IDENT_12 context = IDENT_6 . METHOD_8 ( ) ; boolean result = METHOD_13 ( IDENT_3 , context ) ; if ( result ) { IDENT_3 . METHOD_14 ( ) ; } return result ? STRING_5 : STRING_6 ; }
org . junit . Assert . assertThat ( result , org . hamcrest . CoreMatchers . is ( STRING_6 ) )