METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . common . message . IDENT_2 message = mock ( org . IDENT_0 . IDENT_1 . common . message . IDENT_2 . class ) ; org . springframework . context . IDENT_3 IDENT_4 = mock ( org . springframework . context . IDENT_3 . class ) ; when ( message . getCode ( ) ) . thenReturn ( null ) ; when ( message . getText ( ) ) . thenReturn ( STRING_0 ) ; java . lang . String msg = org . IDENT_0 . IDENT_1 . common . message . IDENT_5 . METHOD_1 ( message , IDENT_4 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( org . IDENT_0 . IDENT_1 . common . message . IDENT_2 , org . springframework . context . IDENT_3 ) { return org . IDENT_0 . IDENT_1 . common . message . IDENT_5 . METHOD_1 ( message , IDENT_4 , java . util . Locale . METHOD_2 ( ) ) ; }
org . junit . Assert . assertThat ( msg , org . hamcrest . CoreMatchers . is ( STRING_0 ) )