METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 IDENT_3 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final java . lang . String IDENT_4 = "name" ; final java . lang . String IDENT_5 = STRING_0 ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . errors . IDENT_6 IDENT_7 = new org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . errors . METHOD_1 ( IDENT_8 ) ; when ( IDENT_3 . getName ( ) ) . thenReturn ( IDENT_4 ) ; when ( IDENT_8 . format ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . errors . IDENT_9 , IDENT_4 ) ) . thenReturn ( IDENT_5 ) ; final java . lang . String IDENT_10 = IDENT_7 . METHOD_2 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 ) { return IDENT_8 . format ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_11 . IDENT_12 . IDENT_13 ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , IDENT_10 )