METHOD_0 ( ) { doReturn ( java . util . Optional . of ( mock ( org . IDENT_0 . common . services . project . model . IDENT_1 . class ) ) ) . when ( IDENT_2 ) . METHOD_1 ( ) ; doReturn ( true ) . when ( IDENT_3 ) . METHOD_2 ( any ( ) ) ; final org . kie . workbench . common . widgets . metadata . client . IDENT_4 document = METHOD_3 ( ) ; METHOD_4 ( document ) ; METHOD_5 ( document ) ; IDENT_5 . METHOD_6 ( ) ; final org . mockito . IDENT_6 < org . IDENT_7 . IDENT_8 . IDENT_9 > IDENT_10 = org . mockito . IDENT_6 . METHOD_7 ( org . IDENT_7 . IDENT_8 . IDENT_9 . class ) ; verify ( IDENT_11 , times ( 1 ) ) . METHOD_8 ( IDENT_10 . METHOD_9 ( ) ) ; final org . IDENT_7 . IDENT_8 . IDENT_9 IDENT_12 = IDENT_10 . getValue ( ) ; "<AssertPlaceHolder>" ; IDENT_12 . execute ( ) ; verify ( IDENT_13 , times ( 1 ) ) . METHOD_10 ( ) ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_11 ( eq ( document ) ) ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_12 ( eq ( document ) ) ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_13 ( eq ( document ) , eq ( STRING_0 ) ) ; verify ( document , times ( 1 ) ) . METHOD_14 ( eq ( null ) ) ; } getValue ( ) { return IDENT_14 ; }
org . junit . Assert . assertNotNull ( IDENT_12 )