METHOD_0 ( ) { final java . lang . String IDENT_0 = "" ; final java . lang . String name = null ; final java . lang . String IDENT_1 = STRING_0 ; when ( IDENT_2 . format ( org . kie . workbench . common . IDENT_3 . client . IDENT_4 . IDENT_5 . IDENT_6 ) ) . thenReturn ( IDENT_1 ) ; doReturn ( name ) . when ( factory ) . getName ( element ) ; doReturn ( IDENT_0 ) . when ( factory ) . METHOD_1 ( element ) ; final java . lang . String IDENT_7 = factory . METHOD_2 ( element ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . kie . workbench . common . IDENT_8 . core . graph . Node ) { final java . util . Optional < org . kie . workbench . common . IDENT_3 . api . IDENT_9 . IDENT_10 . IDENT_11 > expression = java . util . Optional . of ( METHOD_3 ( node ) ) ; return IDENT_12 . get ( ) . METHOD_4 ( expression ) . get ( ) . getName ( ) ; }
org . junit . Assert . assertEquals ( IDENT_7 , IDENT_1 )