METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = STRING_1 ; final org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . common . IDENT_4 IDENT_5 = mock ( org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . common . IDENT_4 . class ) ; final org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . common . IDENT_4 IDENT_6 = mock ( org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . common . IDENT_4 . class ) ; final org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . IDENT_7 . IDENT_8 IDENT_9 = mock ( org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . IDENT_7 . IDENT_8 . class ) ; final org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . IDENT_7 . IDENT_8 IDENT_10 = mock ( org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . IDENT_7 . IDENT_8 . class ) ; final java . util . List < org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . IDENT_7 . IDENT_8 > IDENT_11 = new java . util . ArrayList ( asList ( IDENT_9 , IDENT_10 ) ) ; when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; when ( IDENT_6 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_9 . METHOD_2 ( ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_10 . METHOD_2 ( ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_12 . METHOD_3 ( ) ) . thenReturn ( IDENT_11 ) ; final java . util . Optional < org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . IDENT_7 . IDENT_8 > item = IDENT_12 . METHOD_4 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } get ( ) { final org . kie . workbench . common . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . IDENT_17 < ? > IDENT_18 = IDENT_19 . METHOD_5 ( ) . METHOD_6 ( ) ; if ( ( null != IDENT_18 ) && ( IDENT_18 instanceof org . kie . workbench . common . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . IDENT_20 ) ) { return ( ( org . kie . workbench . common . IDENT_13 . IDENT_14 . IDENT_15 . IDENT_16 . IDENT_20 ) ( IDENT_18 ) ) . METHOD_7 ( ) . METHOD_8 ( ) ; } return IDENT_19 . METHOD_8 ( ) . get ( ) ; }
org . junit . Assert . assertEquals ( IDENT_9 , item . get ( ) )