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 org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 IDENT_4 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 IDENT_5 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 IDENT_6 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 IDENT_7 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final java . lang . String name = "name" ; final java . lang . String type = STRING_0 ; when ( IDENT_5 . getType ( ) ) . thenReturn ( name ) ; when ( IDENT_6 . getType ( ) ) . thenReturn ( type ) ; when ( IDENT_7 . getName ( ) ) . thenReturn ( type ) ; when ( IDENT_4 . getName ( ) ) . thenReturn ( name ) ; when ( IDENT_4 . getType ( ) ) . thenReturn ( type ) ; when ( IDENT_8 . METHOD_1 ( ) ) . thenReturn ( asList ( IDENT_5 , IDENT_6 , IDENT_7 ) ) ; doReturn ( java . util . Optional . of ( IDENT_4 ) ) . when ( handler ) . METHOD_2 ( IDENT_3 ) ; doReturn ( false ) . when ( handler ) . METHOD_3 ( IDENT_3 ) ; METHOD_4 ( ) . when ( handler ) . METHOD_5 ( any ( ) , anyString ( ) ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 > IDENT_9 = asList ( IDENT_6 , IDENT_7 , IDENT_4 ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 > IDENT_10 = handler . METHOD_6 ( IDENT_3 ) ; verify ( handler ) . METHOD_5 ( IDENT_4 , name ) ; verify ( handler ) . METHOD_5 ( IDENT_6 , type ) ; verify ( handler ) . METHOD_5 ( IDENT_7 , type ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 , java . lang . String ) { IDENT_11 . from ( IDENT_3 ) . METHOD_7 ( IDENT_12 ) ; }
org . junit . Assert . assertEquals ( IDENT_9 , IDENT_10 )