METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = mock ( org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; final org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 IDENT_5 = mock ( org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 . class ) ; final org . kie . workbench . common . IDENT_0 . api . property . IDENT_0 . IDENT_6 IDENT_7 = mock ( org . kie . workbench . common . IDENT_0 . api . property . IDENT_0 . IDENT_6 . class ) ; final java . lang . String IDENT_8 = STRING_0 ; when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_7 . METHOD_2 ( ) ) . thenReturn ( IDENT_8 ) ; when ( IDENT_9 . METHOD_3 ( IDENT_8 ) ) . thenReturn ( java . util . Optional . of ( IDENT_4 ) ) ; final org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 IDENT_10 = manager . METHOD_4 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 ) { if ( ( IDENT_11 . METHOD_1 ( ) ) != null ) { final java . util . Optional < org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 > IDENT_1 = METHOD_3 ( METHOD_5 ( IDENT_11 ) ) ; if ( IDENT_1 . METHOD_6 ( ) ) { return METHOD_4 ( IDENT_1 . get ( ) ) ; } } return IDENT_11 ; }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_10 )