METHOD_0 ( ) { fr . IDENT_0 . IDENT_1 . message . IDENT_2 key = fr . IDENT_0 . IDENT_1 . message . IDENT_2 . IDENT_3 ; org . IDENT_4 . entity . IDENT_5 IDENT_6 = mock ( org . IDENT_4 . entity . IDENT_5 . class ) ; java . lang . String text = STRING_0 ; METHOD_1 ( messages . METHOD_2 ( IDENT_6 , key ) ) . METHOD_3 ( text ) ; java . lang . String result = IDENT_7 . METHOD_4 ( IDENT_6 , key ) ; "<AssertPlaceHolder>" ; verify ( messages ) . METHOD_2 ( IDENT_6 , key ) ; } METHOD_4 ( org . IDENT_4 . command . IDENT_8 , fr . IDENT_0 . IDENT_1 . message . IDENT_2 ) { return messages . METHOD_2 ( IDENT_9 , key ) ; }
org . junit . Assert . assertThat ( result , org . hamcrest . Matchers . equalTo ( text ) )