METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final org . kie . workbench . common . IDENT_1 . core . graph . Node < org . kie . workbench . common . IDENT_1 . core . graph . content . IDENT_2 . IDENT_3 , org . kie . workbench . common . IDENT_1 . core . graph . IDENT_4 > IDENT_5 = mock ( org . kie . workbench . common . IDENT_1 . core . graph . Node . class ) ; final org . kie . workbench . common . IDENT_1 . core . graph . content . IDENT_2 . IDENT_3 IDENT_6 = mock ( org . kie . workbench . common . IDENT_1 . core . graph . content . IDENT_2 . IDENT_3 . class ) ; final org . kie . workbench . common . IDENT_7 . api . IDENT_2 . IDENT_8 . IDENT_9 IDENT_10 = mock ( org . kie . workbench . common . IDENT_7 . api . IDENT_2 . IDENT_8 . IDENT_9 . class ) ; when ( IDENT_11 . METHOD_1 ( ) ) . thenReturn ( java . util . Optional . of ( graph ) ) ; when ( graph . nodes ( ) ) . thenReturn ( java . util . Collections . singletonList ( IDENT_5 ) ) ; when ( IDENT_5 . METHOD_2 ( ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_6 . METHOD_3 ( ) ) . thenReturn ( IDENT_10 ) ; when ( IDENT_5 . METHOD_4 ( ) ) . thenReturn ( IDENT_0 ) ; final java . lang . String IDENT_12 = factory . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { final java . lang . String IDENT_13 = "" ; return IDENT_11 . METHOD_1 ( ) . map ( ( graph ) -> ( ( IDENT_14 < ? , org . kie . workbench . common . IDENT_1 . core . graph . Node > ) ( graph ) ) . nodes ( ) ) . map ( ( nodes ) -> java . util . stream . IDENT_15 . stream ( nodes . METHOD_6 ( ) , false ) ) . map ( ( stream ) -> stream . filter ( ( n ) -> ( n . METHOD_2 ( ) ) instanceof org . kie . workbench . common . IDENT_1 . core . graph . content . IDENT_2 . IDENT_3 ) . filter ( ( n ) -> ( ( ( org . kie . workbench . common . IDENT_1 . core . graph . content . IDENT_2 . IDENT_3 ) ( n . METHOD_2 ( ) ) ) . METHOD_3 ( ) ) instanceof org . kie . workbench . common . IDENT_7 . api . IDENT_2 . IDENT_8 . IDENT_9 ) . METHOD_7 ( ) . map ( org . kie . workbench . common . IDENT_1 . core . graph . Node :: METHOD_4 ) . METHOD_8 ( IDENT_13 ) ) . METHOD_8 ( IDENT_13 ) ; }
org . junit . Assert . assertEquals ( IDENT_0 , IDENT_12 )