METHOD_0 ( ) { br . com . IDENT_0 . IDENT_1 . validator . IDENT_2 message = new br . com . IDENT_0 . IDENT_1 . validator . METHOD_1 ( STRING_0 , STRING_1 ) ; when ( IDENT_3 . METHOD_2 ( ) ) . METHOD_3 ( new java . lang . METHOD_4 ( STRING_2 ) ) ; validator . add ( message ) ; doReturn ( new br . com . IDENT_0 . IDENT_1 . validator . METHOD_5 ( STRING_1 , STRING_3 ) ) . when ( IDENT_3 ) . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } getMessage ( ) { if ( ( IDENT_4 ) != null ) { return java . text . IDENT_5 . format ( message , IDENT_4 ) ; } return message ; }
org . junit . Assert . assertThat ( message . getMessage ( ) , org . hamcrest . Matchers . is ( STRING_3 ) )