METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 parent = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final java . lang . String type = STRING_0 ; when ( parent . METHOD_1 ( ) ) . thenReturn ( true ) ; when ( parent . getName ( ) ) . thenReturn ( type ) ; doReturn ( parent ) . when ( manager ) . METHOD_2 ( ) ; final java . util . Optional < java . lang . String > IDENT_3 = manager . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } get ( ) { return METHOD_4 ( ) ; }
org . junit . Assert . assertEquals ( type , IDENT_3 . get ( ) )